Last active
December 28, 2015 12:29
-
-
Save feymartynov/7501481 to your computer and use it in GitHub Desktop.
find missing retina images
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
for img in `find -type f -name '*_*' ! -name '*@2x*'`; do test $(echo `basename $img | sed 's/\.[^\.]*$//'`@2x.`basename $img | sed 's/^.*\.//'` | xargs find `dirname $img` -type f -name | wc -l) -eq 0 && echo $img; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment