DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+3 =
Submit