PDA

View Full Version : Bulk Rename



jrmontg
3rd September 2007, 03:21 PM
I need to rename a bunch of mp3 files. Is there a rename tool that can do this? Or does someone have a nice script?

Example of what I need

Artist - 01 - Song.mp3 to 01 - Song.mp3

jim
3rd September 2007, 04:46 PM
look into using sed or you can use easytag

RupertPupkin
3rd September 2007, 08:33 PM
Run this in the directory where the mp3 files are located:

for song in *.mp3
do
mv "${song}" "${song#* - }"
done