Created
October 26, 2011 13:13
-
-
Save edwinwebb/1316313 to your computer and use it in GitHub Desktop.
Rename files in directory to 1,2 ... 11,12 ... 102,103
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
j=0; for i in *.png; do ((j = $j+1)); k=$j".png"; mv $i $k; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment