Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash numbering odd filename

 i=-1; for f in [folder]/*; do echo mv "$f" "${f%/*}/$((i+=2)).[ext_file]"; done
 
PREVIOUS NEXT
Tagged: #bash #numbering #odd #filename
ADD COMMENT
Topic
Name
4+8 =