Created
June 25, 2015 01:20
-
-
Save chrishiestand/5528bc69116155fb0d7e to your computer and use it in GitHub Desktop.
Size Optimize Images for the web
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 . -iname '*.png' -exec pngcrush -brute -reduce -ow {} \; | |
find . \( -iname '*.jpg' -o -iname '*.jpeg' \) -exec jpegoptim {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment