You are not logged in.
Pages: 1
I have a few thousand of files where I like to move the last 7 digits to the front of the file.
I searched here in the forum and tried some expressions but I must admit my experience with expressions are limited to bartalk over a cold beer.
So this is what I have:
Aerosmith - Dream On 029 -
Alice Cooper - School's Out 372 -
Allman Brothers Band - Whipping Post 242 -
This is what I like to have:
029 - Aerosmith - Dream On
372 - Alice Cooper - School's Out
242 - Allman Brothers Band - Whipping Post
Any ace up the sleve on how to do this in a jiffy?
A failed perfectionist that wont give up...
Offline
THis is as close as I get. I think my main problem is that the info before what I like to move is different long from file to file so this method is most likely the wrong way to go.
A failed perfectionist that wont give up...
Offline
You had good attempts, but I think Regular Expressions are better suited for this particular task.
Expression: \A(.*?)\s+([\d\-\s]+)\Z
Replace: $2$1
This will move all the trailing digits, spaces and dashes to the front of the filename.
Here is a demo:
For the reference:
https://www.den4b.com/wiki/ReNamer:Regular_Expressions
Offline
Things are so much easier when you know what you are doing. Like in this case. Worked just perfect.
I lift my hat and say thank you!
A failed perfectionist that wont give up...
Offline
Pages: 1