Created
May 9, 2013 14:29
-
-
Save l4u/5547784 to your computer and use it in GitHub Desktop.
rename sequentially
This file contains hidden or 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
find . -name '*.png' \ | |
| awk 'BEGIN{ a=0 }{ printf "mv %s %d.png\n", $0, a++ }' \ | |
| bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment