Created
November 22, 2017 22:21
-
-
Save morewry/9a49e925244937d409e0ef64b5324098 to your computer and use it in GitHub Desktop.
run mozjpegtran on all jpgs in current 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 -L $PWD -type f -name "*.jpg" -print0 | xargs -0 -I'{}' mozjpegtran -outfile '{}'.out.jpg -optimise -copy none '{}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment