Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

renaming files in a folde to sequential numbers and perfix

find .  | grep 'mp4' | nl -nrz -w3 -v1 | while read n f; do mv "$f" "myPerfix-$n.mp4"; done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #renaming #files #folde #sequential #numbers #perfix
ADD COMMENT
Topic
Name
8+3 =