Created
May 15, 2012 18:08
-
-
Save julianlconnor/2703823 to your computer and use it in GitHub Desktop.
Small script that runs through all images in the current directory that do not have the '@2x' identifier and promptly adds it.. lol
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 i in `ls | grep -v "@2x"`; | |
do mv $i `echo $i|sed s/\.png/@2x\.png/`; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment