msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

10 Apr 2007 Rename files with one extension to another

Posted by

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

Tags: ,

Comments are closed.