batch rename incremental starting over at diff name

Advanced Renamer forum
#1 : 10/02-19 04:35
Jeff York
Jeff York
Posts: 2
we have multiple file names in each group need to start over at each group
we have:
N187737-1548450669209000
N187737-1548450679042000
N187737-1548450690292000
D719522-1549571499501000
D719522-1549571523686000
D719522-1549571540772000
D719522-1549571574790000

we need:
N187737-000
N187737-001
N187737-002
D719522-000
D719522-001
D719522-002
D719522-003


10/02-19 04:35
#2 : 10/02-19 09:05
David Lee
David Lee
Posts: 106
Reply to #1:
1: Load the files into the List

2: Re-order in ascending order (click on Filename header as necessary)

3: Set Name collision rule = "Append number", Separator = "-"

4: Remove pattern method
- Pattern: "-.*"
- Use regular expressions:"√

5: Start batch

6: In "Progress" dialogue: Add files = "All items"

7: Renumber method
- Number position = 2
- Change to = "Relative to existing number"
- Number difference = -1

8: Start batch

Notes:
- 1: Collision rule appended numbers start from 001 not 000
- 2: Two passes are required because the collision rule is applied after all methods have been processed, so the appended number is not accessible until the first batch has been executed


10/02-19 09:05
#3 : 15/02-19 04:36
Jeff York
Jeff York
Posts: 2
Reply to #2:
That worked perfect!
Thank you!


15/02-19 04:36