Request: Batch Rename: option to renumber using 1st number in file names, not last number
Posted: Thu Apr 13, 2023 5:28 pm
On the Batch Rename window, offer a saved option to build the Name template so that the 1st number in the file names is replaced by #'s instead of the last number in the file names.
As an example, I use file names that contain:
1. a person's name
2. a sequence number of the picture
3. the title of the appearance
4. the date (typically the year of the appearance)
So if I were collecting pictures for a Michael Jackson retrospective, the file names might be:
Michael Jackson-080_Remember the Time 1992
Michael Jackson-081_Remember the Time 1992
Michael Jackson-082_Remember the Time 1992
Michael Jackson-083_Remember the Time 1992
Michael Jackson-084_Remember the Time 1992
Michael Jackson-090_Top of the Pops 1992 TV
Michael Jackson-091_Top of the Pops 1992 TV
Michael Jackson-092_Top of the Pops 1992 TV
Michael Jackson-093_Top of the Pops 1992 TV
Michael Jackson-094_Top of the Pops 1992 TV
Michael Jackson-100_Jam 1992
Michael Jackson-101_Jam 1992
Michael Jackson-102_Jam 1992
In the same folder, I might want to add retrospectives of other singers using the same approach:
The Beatles-010_Penny Lane 1967
The Beatles-011_Penny Lane 1967
The Beatles-012_Penny Lane 1967
The Beatles-020_All You Need Is Love 1967
The Beatles-021_All You Need Is Love 1967
The Beatles-030_Hello, Goodbye 1967
The Beatles-040_Magical Mystery Tour 1967 TV
The Beatles-041_Magical Mystery Tour 1967 TV
The Beatles-042_Magical Mystery Tour 1967 TV
The Beatles-043_Magical Mystery Tour 1967 TV
The Beatles-050_Strawberry Fields Forever 1967
The Beatles-051_Strawberry Fields Forever 1967
The Beatles-052_Strawberry Fields Forever 1967
Putting the sequence number at the end of the file name will re-sort the the pictures by title instead of chronological order. Putting the "1992" and "1992 TV" in front of the title will re-sort all TV appearances in a particular year after all video appearances in that year (not chronological order) as well as sort the titles by alphabetical order instead of chronological order.
Today, I have to edit the Name templates for each group of file names for a title to move the #'s to the sequence number.
Update 28-Apr-2023:
In the 1st example above, when I select and rename:
Michael Jackson-100_Jam 1992
Michael Jackson-101_Jam 1992
Michael Jackson-102_Jam 1992
Xnview creates the Batch Rename window with:
Name template: Michael Jackson-100_Jam ####
Start: 1992
etc.
I would like an option to generate the Name template using the 1st numeric digits encountered instead of the last digits such as:
Name template: Michael Jackson-###_Jam 1992
Start: 100
etc.
As an example, I use file names that contain:
1. a person's name
2. a sequence number of the picture
3. the title of the appearance
4. the date (typically the year of the appearance)
So if I were collecting pictures for a Michael Jackson retrospective, the file names might be:
Michael Jackson-080_Remember the Time 1992
Michael Jackson-081_Remember the Time 1992
Michael Jackson-082_Remember the Time 1992
Michael Jackson-083_Remember the Time 1992
Michael Jackson-084_Remember the Time 1992
Michael Jackson-090_Top of the Pops 1992 TV
Michael Jackson-091_Top of the Pops 1992 TV
Michael Jackson-092_Top of the Pops 1992 TV
Michael Jackson-093_Top of the Pops 1992 TV
Michael Jackson-094_Top of the Pops 1992 TV
Michael Jackson-100_Jam 1992
Michael Jackson-101_Jam 1992
Michael Jackson-102_Jam 1992
In the same folder, I might want to add retrospectives of other singers using the same approach:
The Beatles-010_Penny Lane 1967
The Beatles-011_Penny Lane 1967
The Beatles-012_Penny Lane 1967
The Beatles-020_All You Need Is Love 1967
The Beatles-021_All You Need Is Love 1967
The Beatles-030_Hello, Goodbye 1967
The Beatles-040_Magical Mystery Tour 1967 TV
The Beatles-041_Magical Mystery Tour 1967 TV
The Beatles-042_Magical Mystery Tour 1967 TV
The Beatles-043_Magical Mystery Tour 1967 TV
The Beatles-050_Strawberry Fields Forever 1967
The Beatles-051_Strawberry Fields Forever 1967
The Beatles-052_Strawberry Fields Forever 1967
Putting the sequence number at the end of the file name will re-sort the the pictures by title instead of chronological order. Putting the "1992" and "1992 TV" in front of the title will re-sort all TV appearances in a particular year after all video appearances in that year (not chronological order) as well as sort the titles by alphabetical order instead of chronological order.
Today, I have to edit the Name templates for each group of file names for a title to move the #'s to the sequence number.
Update 28-Apr-2023:
In the 1st example above, when I select and rename:
Michael Jackson-100_Jam 1992
Michael Jackson-101_Jam 1992
Michael Jackson-102_Jam 1992
Xnview creates the Batch Rename window with:
Name template: Michael Jackson-100_Jam ####
Start: 1992
etc.
I would like an option to generate the Name template using the 1st numeric digits encountered instead of the last digits such as:
Name template: Michael Jackson-###_Jam 1992
Start: 100
etc.