How would I accomplish this file name adjustment?

Post any Bulk Rename Utility support requirements here. Open to all registered users.

How would I accomplish this file name adjustment?

Postby Fatbat » Sun Jan 21, 2018 6:18 pm

I have a few files like this...

Artist Name - Song Title - Remix Artist.mp3

I want to remove the second dash, the space following it, and enclose the Remix Artist in brackets, like this...

Artist Name - Song Title (Remix Artist).mp3

How might I go about doing this? Thank you as always!
Fatbat
 
Posts: 9
Joined: Wed Apr 09, 2008 3:54 pm

Re: How would I accomplish this file name adjustment?

Postby therube » Mon Jan 22, 2018 3:47 am

1:RegEx
Code: Select all
Match:  (.*) - (.*)
Replace:  \1 (\2)
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: How would I accomplish this file name adjustment?

Postby Fatbat » Mon Feb 26, 2018 7:09 pm

That works great! Thank you for that. How about...

Song Title - Artist Name - Remix Artist.mp3

to

Artist Name - Song Title (Remix Artist).mp3

?

Thank you once again!
Fatbat
 
Posts: 9
Joined: Wed Apr 09, 2008 3:54 pm

Re: How would I accomplish this file name adjustment?

Postby Emerkamp » Tue Feb 27, 2018 6:00 pm

Hi,


Code: Select all
Match:
(.*) - (.*) - (.*)
Replace:
\2 - \1 (\3)
Emerkamp
 
Posts: 140
Joined: Sat Aug 23, 2014 2:35 pm

Re: How would I accomplish this file name adjustment?

Postby Fatbat » Mon Mar 19, 2018 2:28 am

Once again, you guys rock.

One more I cannot figure out. I have a bunch of files reword by DJ "S"... however in my case changes I've somehow made DJ "S" in to DJ "s" and replace doesn't seem to want to let me make DJ "s" back into DS "S". I assume it's because it's not liking the " " marks.

Any ideas to get these back to the right capitalization?

Thanks!
Fatbat
 
Posts: 9
Joined: Wed Apr 09, 2008 3:54 pm

Re: How would I accomplish this file name adjustment?

Postby Emerkamp » Mon Mar 19, 2018 6:23 am

Hi,

Not sure on this one, but Quotation marks " " are illegal / Reserved in Windows Os. You can use ' ' , not " ".
Are you on a different Os.
Emerkamp
 
Posts: 140
Joined: Sat Aug 23, 2014 2:35 pm

Re: How would I accomplish this file name adjustment?

Postby therube » Mon Mar 19, 2018 4:05 pm

If they look like "quotes", try copying them & pasting what you copied to be the Replace part of your 3:Replace.

As not everything that looks like quotes are "quotes". These are valid (& different):
Code: Select all
This is a “test“.TXT
this is a “test”.TXT
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support