Answers for "bash numbering odd filename"

0

bash numbering odd filename

i=-1; for f in [folder]/*; do echo mv "$f" "${f%/*}/$((i+=2)).[ext_file]"; done
Posted by: Guest on September-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language