PDA

View Full Version : [xubuntu] Multi renamer for xfce


DachaArh
June 11th, 2008, 03:53 AM
Is there some multi renamer for xubuntu that would allow me to rename several .mp3 files at once.
I need something like this :
my songs now are :
Abba - Dancing queen_www.example.com.mp3
Abba - Waterloo_www.example.com.mp3
Abba - Honey honey_www.example.com.mp3
Abba - So long_www.example.com.mp3
Abba - Money, money, money_www.example.com.mp3

and I have about 100 songs like that and I want to remove _www.example.com from all of them
Is this possible with some application ?

thanks

DachaArh
June 11th, 2008, 05:34 AM
I found GPrename, and it did a great job

Jouke74
June 11th, 2008, 06:42 AM
Under XFCE there is a tool called "Bulk Rename". Unless you de-installed it, I think it is most likely to be found under the accessories menu. As a precaution and from my own experience I suggest you make a backup before you start :lolflag:

nunki
June 11th, 2008, 01:34 PM
From a terminal, navigate to the mp3 directory and type something like

ls *.mp3 | while read FILE; do
>a=`echo $FILE | sed 's/_www.example.com//'`
>echo "Moving $FILE -> $a"
>mv "$FILE" "$a"
>done