Created
May 23, 2012 10:22
-
-
Save kulor/2774458 to your computer and use it in GitHub Desktop.
Change a list of filenames
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 `find *.png`; do echo mv $i `echo $i | sed 's/\([0-9]*\).*\.png/\1.png/'`; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment