increasing number every 3 files
Hi I hope someone can help.
I have a lot of episode files that need renaming/ numbering.
I need to add eg. Gotham - S01E01 - filename.jpg
Gotham - S01E01 - filename.mkv
Gotham - S01E01 - filename.nfo
Then it would go Gotham - S01E02 - filename.jpg etc..
I know how to do Gotham - S01E0 but don't know how to increase the numbering every 3 files.
Thanks
I have a lot of episode files that need renaming/ numbering.
I need to add eg. Gotham - S01E01 - filename.jpg
Gotham - S01E01 - filename.mkv
Gotham - S01E01 - filename.nfo
Then it would go Gotham - S01E02 - filename.jpg etc..
I know how to do Gotham - S01E0 but don't know how to increase the numbering every 3 files.
Thanks
Reply to #1:
Hi Paul, welcome,
Can you give us some examples of the filenames you are starting with? It's hard to say what the process might be without knowing both what results you seek and what you are working with to start.
A screenshot of files in, say, an Explorer window would be very helpful. Or alternatively something like:
fileStartName -> fileEndName
fileStartName2 -> fileEndName2
etc.
Best,
DF
Hi Paul, welcome,
Can you give us some examples of the filenames you are starting with? It's hard to say what the process might be without knowing both what results you seek and what you are working with to start.
A screenshot of files in, say, an Explorer window would be very helpful. Or alternatively something like:
fileStartName -> fileEndName
fileStartName2 -> fileEndName2
etc.
Best,
DF
Reply to #2:
Hi Thanks for replying.
Here is a screenshot (hope it displays not sure how to do this)
[img]https://i.imgur.com/XZ7k2WW.png[/img]
As you can see each episode has 3 files. So I would want to add "Batman - S01E01 - "at the begining of each file in the green box (episode 1) ending up with a filename like this -
Batman - S01E01 - Batman - Gotham Nights 001 (2020)
The next 3 files (episode 2) it would change to "Batman - S01E02 - " having filename like this -
Batman - S01E02 - Batman - Gotham Nights 002 (2020)
As you can see it is the E0 number that changes every 3 files.
Hi Thanks for replying.
Here is a screenshot (hope it displays not sure how to do this)
[img]https://i.imgur.com/XZ7k2WW.png[/img]
As you can see each episode has 3 files. So I would want to add "Batman - S01E01 - "at the begining of each file in the green box (episode 1) ending up with a filename like this -
Batman - S01E01 - Batman - Gotham Nights 001 (2020)
The next 3 files (episode 2) it would change to "Batman - S01E02 - " having filename like this -
Batman - S01E02 - Batman - Gotham Nights 002 (2020)
As you can see it is the E0 number that changes every 3 files.
Reply to #3:
Hi,
I think that what you want can be done with 2 Replace methods and the help of Regular expression.
1 METHOD.
REPLACE; (\w.+) (\d.+)\s
REPLACE WITH: Batman - S01E$2 - $1 $2 add a space after the last $2
Regular expression: Yes
METHOD 2
Replace: 00
Replace with: 0
Occurence: First
Apply to Name
https://drive.google.com/file/d/1nlmh0pgW6bHfdV0YqB6bbqmFmWM AKIUU/view?usp=drive_link
I hope this will help you
Miguel
Hi,
I think that what you want can be done with 2 Replace methods and the help of Regular expression.
1 METHOD.
REPLACE; (\w.+) (\d.+)\s
REPLACE WITH: Batman - S01E$2 - $1 $2 add a space after the last $2
Regular expression: Yes
METHOD 2
Replace: 00
Replace with: 0
Occurence: First
Apply to Name
https://drive.google.com/file/d/1nlmh0pgW6bHfdV0YqB6bbqmFmWM AKIUU/view?usp=drive_link
I hope this will help you
Miguel
Reply to #4:
Miguel thank you for your effort. I used method 1 and is just what I wanted.
Cheers
Miguel thank you for your effort. I used method 1 and is just what I wanted.
Cheers
Reply to #4:
Why does the auto name part return an error? This link: https://drive.google.com/file/d/1nlmh0pgW6bHfdV0YqB6bbqmFmWM AKIUU/view?usp=drive_link https://geometrydash.io/lite
Why does the auto name part return an error? This link: https://drive.google.com/file/d/1nlmh0pgW6bHfdV0YqB6bbqmFmWM AKIUU/view?usp=drive_link https://geometrydash.io/lite