Answers for "change all file to another"

0

change all file to another

for f in *.txt; do
    mv -- "$f" "$(basename -- "$f" .txt).text"
done
Posted by: Guest on October-13-2020
0

bash change file extension

rename "s/oldExtension/newExtension/" *.txt
Posted by: Guest on February-06-2020

Code answers related to "change all file to another"

Browse Popular Code Answers by Language