DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash rename different file names with zero padding
autoload -Uz zmv # best in ~/.zshrc zmv -n '(*).pdf' '${1//(#m)<->/${(l[3][0])MATCH}}.pdf'
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#bash
#rename
#file
#names
#padding
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit