Answers for "mv batch rename extension"

1

mv batch rename extension

for f in *.oldext; do 
    mv -- "$f" "${f%.oldext}.newext"
done
Posted by: Guest on May-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language