Skip to content

Instantly share code, notes, and snippets.

@okineadev
Forked from eggplants/refresh_cache_on_camo.sh
Last active January 10, 2025 11:06
Show Gist options
  • Save okineadev/17439fffd23089972760b8064ec5e8a5 to your computer and use it in GitHub Desktop.
Save okineadev/17439fffd23089972760b8064ec5e8a5 to your computer and use it in GitHub Desktop.
How to remove all cache of camo image icons in GitHub images
#!/usr/bin/env bash
curl -s https://github.com/OWNER/REPO | grep -oE 'https://camo[^"]+' | while read i; do curl -X PURGE "$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment