Page 1 of 1

Using /Cut N

Posted: 02 Nov 2021 14:22
by DixieCup48
This addition has proved to be useful at what it does. Is there a way to configure it so that it truncates characters from the Left side of a file name? In particular would like to be able to remove numbers that have been prefixed to a name. The goal is to make "084 A music file.mp3" look like this "A music file.mp3".

If it cannot be done with /Cut does the the program provide an alternate convenient way of doing so?

Re: Using /Cut N

Posted: 02 Nov 2021 14:32
by highend
Use a regex rename ^[0-9 ]+ >

Re: Using /Cut N

Posted: 02 Nov 2021 17:22
by jupe
To do it with cut it would be /cut 4,

Re: Using /Cut N

Posted: 02 Nov 2021 18:00
by autocart
jupe wrote: ↑02 Nov 2021 17:22 To do it with cut it would be /cut 4,
Actually it would be /cut 5,. Just in that particular example of making "084 A music file.mp3" look like "A music file.mp3", a /cut 4, would also work because leading and trailing spaces are not allowed in file names and therefore truncated automatically.

Re: Using /Cut N

Posted: 03 Nov 2021 14:44
by DixieCup48
Thank you to all who took the time to reply :!:

Have not paid much attention to /Cut since it first appeared. Based on your knowledge have now download the PDF file and carefully studied and annotated the topic Shorten Files Names. The tool is such more versatile than it appears at first blush.

Happy XYPlorering ...

Re: Using /Cut N

Posted: 03 Nov 2021 14:50
by autocart
DixieCup48 wrote: ↑03 Nov 2021 14:44XYPlorering ...
:kidding: Thanks