Created
August 22, 2013 11:39
-
-
Save MaciekBaron/6306136 to your computer and use it in GitHub Desktop.
Bath renaming and numbering files in Unix (OSX flavour)
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 '*.jpg' | awk 'BEGIN{ a=0 }{ printf "mv %s tile%02d.jpg\n", $0, a++ }' | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment