Batch Deleting

If you need help on how to use the program
Post Reply
net
Posts: 2
Joined: 2007-08-09 18:42:56

Batch Deleting

Post 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
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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
net
Posts: 2
Joined: 2007-08-09 18:42:56

thanks for replaying do fast

Post 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)
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

For that I should add the %folderN% to the "search/replace" action.
Post Reply