Created
December 9, 2015 17:30
-
-
Save rodrigoueda/46fb9e19d211eefa6f03 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
| find . -name "*.png" -exec sh -c 'r=$(identify -verbose {} | grep "Colors:\ 1"); if [ ${#r} -gt 0 ]; then echo "mv {} {}.bkp"; mv {} {}.bkp; fi' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment