Created
September 23, 2013 09:03
-
-
Save brendannee/6668143 to your computer and use it in GitHub Desktop.
Optimize jpg files in a directory (overwrite)
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
find . -name "*.jpg" -exec jpegtran -optimize -copy none -outfile {} {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment