INTERACT FORUM

Please login or register.

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

Author Topic: Remove Numbers from name  (Read 5400 times)

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Remove Numbers from name
« Reply #50 on: December 16, 2021, 05:03:32 pm »

Haha!
Logged

pilotsanon

  • Junior Woodchuck
  • **
  • Posts: 59
Re: Remove Numbers from name
« Reply #51 on: December 16, 2021, 09:03:35 pm »

Would you mind pointing me in the direction of the renaming tools in MC27?  I think that is what i am looking for
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Remove Numbers from name
« Reply #52 on: December 16, 2021, 10:30:19 pm »

Library Tools on our wiki.
Logged

macdonjh

  • Citizen of the Universe
  • *****
  • Posts: 538
Re: Remove Numbers from name
« Reply #53 on: December 17, 2021, 11:11:38 pm »

Would you mind pointing me in the direction of the renaming tools in MC27?  I think that is what i am looking for

I think you may be looking for Tools -> Library Tools -> Rename, Move & Copy. 

As JimH suggests, the Wiki has instructions for using that function.  It's a big help keeping my media files named consistently and organized.
Logged

pilotsanon

  • Junior Woodchuck
  • **
  • Posts: 59
Re: Remove Numbers from name
« Reply #54 on: December 19, 2021, 06:28:38 am »

I think the Rename, Move, Copy is what I am looking for.  I have been reading over the info in wiki but one thing I am not finding is how I can create a new preset.  I understand what presets do and using the codes given in wiki I think I can figure out how to do what I want.  I just dont know how to create a new preset so I can go to that one each time.
Logged

pilotsanon

  • Junior Woodchuck
  • **
  • Posts: 59
Re: Remove Numbers from name
« Reply #55 on: December 19, 2021, 08:54:56 pm »

This works for tracks starting with numbers followed by spaces, dots, dashes, or no separator at all.
Code: [Select]
=trim(regex([Name],/#^(\d+[.\s\-]*)?(.*)#/,2))
1 Hotel California
1. Hotel California
1 - Hotel California
1Hotel California


I have MC27, and this trick worked by pasting this code into Name field for tagging.  As an easier and faster method, do you know if I can make this action into a Preset in Rename, Move & Copy?  If so, how do I create a new Preset?
Logged

terrym@tassie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 505
Re: Remove Numbers from name
« Reply #56 on: December 20, 2021, 01:07:54 am »

Quote
If so, how do I create a new Preset?

Wiki: https://wiki.jriver.com/index.php/Rename,_Move,_and_Copy_Files#Presets
Hint: Click the 'Preset' button, then Save, then enter a name for your preset.
Logged
Good manners cost nothing.
Bad manners can cost you your reputation
― B.D.Hawkey

pilotsanon

  • Junior Woodchuck
  • **
  • Posts: 59
Re: Remove Numbers from name
« Reply #57 on: December 20, 2021, 12:15:02 pm »

This is my attempt.  Nothing happened.  Can you see what I am doing wrong?  Do I need the directory even though I am doing a simple filename change or even rules?  Sorry I am still figuring out presets.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Remove Numbers from name
« Reply #58 on: December 20, 2021, 01:25:53 pm »

Your screenshot is barely readable, please don't resize it.

You're telling MC rename the file to [Name] (with an expression to cleanup the name). This means you need to already have a valid/good value in the Name field for that file... do you? What is the Name that MC shows for this file in the normal view?

You need to first fix the Name for all files you want, then you can use that Name to rename the actual filenames to the same [Name] value.

Regarding Presets, they're just a way of saving whatever settings you have on this dialog so that you can quickly reuse them later. Just enter the settings/expressions/checkboxes you need, then click Preset->Save and give it a name. Next time you want to use those same settings, your saved preset should be available on the "Preset..." button with whatever name you entered for it.
Logged
Pages: 1 [2]   Go Up