Remove string of characters in filename using wildcard *

Bulk Rename Utility How-To's

Remove string of characters in filename using wildcard *

Postby Theodicus » Mon Feb 03, 2020 4:45 am

I am trying to bulk rename some filenames in my MP3 collection. I have thousands of songs but do not want the "featuring other artist's names" included in the titles. It's very annoying to have these long filenames due to the MP3 tags. I would like to remove that string of characters and leave the artist's name and song title only.

Example:
Original Filename --> DJ Fudge Nugget featuring MC Half-Pipe, Lil' Wet Pants & Pooh Girl - Lock Da' Door [Dookey Stain Remix].mp3
Wanted Filename --> DJ Fudge Nugget - Lock Da' Door [Dookey Stain Remix].mp3

I would like for everything in red text from the original file to be removed and leave the rest.

I am using Remove(5), Special and this search string --> featuring*-

This works on some of the file names but most of the other filenames it cuts off a part of the artist's name that I want to bulk rename. There is no set position inthe filename where it cuts it off. it's totally random and it's driving me crazy as to why it is doing this! Please help me. I don't want to rename all these files by hand. Thank you!
Theodicus
 
Posts: 3
Joined: Mon Feb 03, 2020 4:20 am

Re: Remove string of characters in filename using wildcard *

Postby Admin » Mon Feb 03, 2020 6:10 am

Hi, where does the "featuring" part, that you want to remove. end and where does the part, that you wish to keep, start?
thanks
Admin
Site Admin
 
Posts: 2350
Joined: Tue Mar 08, 2005 8:39 pm

Re: Remove string of characters in filename using wildcard *

Postby Theodicus » Mon Feb 03, 2020 6:18 am

Starts at the word "featuring" and ends at the "hyphen" before the song title.
Theodicus
 
Posts: 3
Joined: Mon Feb 03, 2020 4:20 am

Re: Remove string of characters in filename using wildcard *

Postby Admin » Mon Feb 03, 2020 11:54 am

Thanks, could you post some examples of before / after file name where it does not work, and some example before / after where it works?
Admin
Site Admin
 
Posts: 2350
Joined: Tue Mar 08, 2005 8:39 pm

Re: Remove string of characters in filename using wildcard *

Postby Theodicus » Mon Feb 03, 2020 7:16 pm

I fixed it using old school DOS batch command.

Thanks anyways.
Theodicus
 
Posts: 3
Joined: Mon Feb 03, 2020 4:20 am


Return to How-To