Created
September 19, 2012 23:09
-
-
Save codearmorygists/3752945 to your computer and use it in GitHub Desktop.
Resize images in directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find SOURCE_DIR -print -name "*.jpg" -execdir convert -resize 800x800 -quality 80 '{}' 'TARGET_DIR/{}' ; | |
find Pictures/ -print -name "*.jpg" -execdir convert -resize 800x800 -quality 80 '{}' '/tmp/test/{}' ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment