Created
May 28, 2014 18:13
-
-
Save sulram/5d00e3a47d5d9910441d to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
for png in `find $1 -name *.png`; | |
do | |
echo "crushing $png" | |
pngcrush -rem cHRM -rem gAMA -rem iCCP -rem sRGB "$png" temp.png | |
mv -f temp.png $png | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment