Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mv batch rename extension

for f in *.oldext; do 
    mv -- "$f" "${f%.oldext}.newext"
done
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #mv #batch #rename #extension
ADD COMMENT
Topic
Name
9+4 =