INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Edit command for multiple album names  (Read 1001 times)

DHF

  • Junior Woodchuck
  • **
  • Posts: 74
Edit command for multiple album names
« on: March 09, 2014, 04:09:36 pm »

Many of my album names are preceded by a calendar year in parenthesis.
For Example
(1972) Twist and Shout
Where I would like it to be
Twist and Shout
Without the year in parenthesis.

How would I construct a command to run through and change all those album names?
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Edit command for multiple album names
« Reply #1 on: March 09, 2014, 09:17:47 pm »

Assuming they are in folder names with a similar structure, you could use the "Tools > Library Tools > Fill properties from filename" tool.

([Year]) [Album] would take care of your example.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Edit command for multiple album names
« Reply #2 on: March 09, 2014, 11:33:49 pm »

If you want to change all your tags, but your file names can't be used to grab these properties for some reason, you can select your files, go to the Tag Action Window, and in the Album field, click to edit and enter (copy and paste the formula):

   =if(regex([album], /#^\((?:19|20)\d{2}\) (.+)$#/), [R1], [album])

and press Enter.  This should remove all the things that look like years within parens at the front of your album names.  You can Undo afterwards if they are not correct or you don't like the results.
Logged
The opinions I express represent my own folly.

DHF

  • Junior Woodchuck
  • **
  • Posts: 74
Re: Edit command for multiple album names
« Reply #3 on: March 10, 2014, 08:57:45 am »

I think both will work!

I will try the edit command, as I want to get more used to using those commands. 

Thanks a bunch.
Logged
Pages: [1]   Go Up