Page 1 of 1

Batch Deleting

Posted: 2007-08-09 18:57:09
by net
Hi,
I have about 10,000 songs, which are distributed according to artist and album name (for example: X:\Coldplay\X&Y\)
Some of the song's filenames contain the artists name or\and album name.
How can I delete it using ant renamer? I know that I can add the folder name to the filename using %folder 1% etc.

Here is an example:
I want to convert that:
X:\Coldplay\X&Y\01 Coldplay - Square One.mp3
like that:
X:\Coldplay\X&Y\01 Square One.mp3

Posted: 2007-08-09 20:02:40
by antp
You could use Regular Expressions.
If there is always a track number and a dash around the Author, you can use the following:
([0-9]*) (.*) - (.*)\.mp3
with this as new name:
$1 $3.mp3

thanks for replaying do fast

Posted: 2007-08-09 20:12:56
by net
I don't belive that there is always a track number and a dash around the Author.
The is no another way? instead of add just remove (the %folder% options)

Posted: 2007-08-09 20:37:48
by antp
For that I should add the %folderN% to the "search/replace" action.