Answers for "how to rename many files at once linux"

1

how to rename many files at once linux

> ls | while read fname
> do
> echo mv $fname ${fname/.log/.LOG/}
> done
Posted by: Guest on January-24-2022
0

linux rename multiple files

$ for i in $( ls ); do mv $i $i.old; done
Posted by: Guest on July-15-2021
1

rename multiple files in linux

for f in *.html; do
    mv -- "$f" "${f%.html}.php"
done
Posted by: Guest on May-24-2021

Code answers related to "how to rename many files at once linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language