Created
April 4, 2015 21:48
-
-
Save yaf/40388bf74451b3cee754 to your computer and use it in GitHub Desktop.
Png Crush
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
# Daily one-liner | |
find . -name *.png | parallel -n 1 'pngcrush -rem allb -brute -reduce {} {}.new | grep "filesize" && mv {}.new {}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment