Created
May 9, 2018 08:56
-
-
Save sergixnet/62f69bd22764096f23eddbaf7aef4c16 to your computer and use it in GitHub Desktop.
optipng recursively optimize png on folders and subfolders
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 . -type f -iname "*.png" -print0 | xargs -I {} -0 optipng -o5 -quiet -keep -preserve -log optipng.log "{}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment