Shell provides easy way of renaming multiple files. Eg: your directory has ’01 – Song1.mp3′, ’02 – Song2.mp3′, ’03 – Song3.mp3′ and you want to rename them to .txt. use the following commane. $rename mp3 txt *.mp3 The above command renames .mp3 files to .txt. An alternate script solution from here #!/bin/sh ls *.mp3|while read ...