Created
January 30, 2015 10:55
-
-
Save iammart/324efc943ad07a1403a5 to your computer and use it in GitHub Desktop.
Image Compression
This file contains 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
# Resizing and compressing images using mogrify & jpegoptim | |
find hiresbk/ -iname "*.jpg" -exec mogrify -resize '1000>' -limit memory 32 -verbose {} \; | |
find hiresbk/ -iname "*.jpg" -exec jpegoptim --strip-all {} \; >> log.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment