Created
January 11, 2010 08:10
-
-
Save quilime/274084 to your computer and use it in GitHub Desktop.
rename multiple files in dir
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
ls | nl -nrz -w2 | while read a b; do mv "$b" filename.$a.png; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment