Answers for "rename tool numeric linux"

0

rename tool numeric linux

# rename random file names to incrementing numbers with prefix (new_name)
rename 'our $i; s/^[^.]+/sprintf "new_name-%02d", $i++/e' *.jpg
# output: new_name-00.jpg new_name-01.jpg etc
Posted by: Guest on January-19-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language