Created
April 18, 2020 13:34
-
-
Save superboum/a5fb840176000c257727b9b323467ef6 to your computer and use it in GitHub Desktop.
rename incrementally files
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
v=0; for e in `ls`; do v=$((v+1)) ; idx=$(printf "%06d" $v) ; mv $e $idx.jpg ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment