Created
June 3, 2010 04:51
-
-
Save johngrimes/423475 to your computer and use it in GitHub Desktop.
Optimise JPEG and PNG images
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 public/images -name '*.png' | xargs optipng | |
find public/images -name '*.jpg' | xargs jpegoptim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment