Skip to content

Instantly share code, notes, and snippets.

@Silfen
Created December 22, 2014 10:18
Show Gist options
  • Save Silfen/5db1515dd9e1e694ed97 to your computer and use it in GitHub Desktop.
Save Silfen/5db1515dd9e1e694ed97 to your computer and use it in GitHub Desktop.

File name

find . -name "*.png" | xargs mogrify -resize 10%

Regex

find -E . -regex '.*/big/.*\.png' | xargs mogrify -resize 10%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment