Last active
December 21, 2016 17:52
-
-
Save manan19/576e8b4964c00e58e38af496858cf5fd to your computer and use it in GitHub Desktop.
Find and crush all pngs
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
# Image Resizing | |
alias cpng='find . -iname '*png' -exec pngcrush -ow -brute {} {}.crush \;' | |
alias spng="find . -name '*png' -ls | awk '{total += $7} END {print total}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment