Rename files with one extension to another
The following command will rename all the files in the folder with the .txt extension to .rtf
ls *.txt | sed 's/\(.*\)\.txt/ & \1.rtf/' | xargs -L1 mv
A chronological documentation test project, nothing serious, really!
The following command will rename all the files in the folder with the .txt extension to .rtf
ls *.txt | sed 's/\(.*\)\.txt/ & \1.rtf/' | xargs -L1 mv