On the Batch Rename window, offer a saved option to build the Name template so that the 1st set of digits in the file names is replaced by #'s instead of the last set of digits 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 every rename of a group of file names in order 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 MP 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 set of numeric digits encountered instead of the last set of digits such as:
Name template: Michael Jackson-###_Jam 1992
Start: 100
etc.
To be more specific, here is an example"
If I select and rename:
- Michael Jackson-100_Jam 1992
- Michael Jackson-101_Jam 1992
- Michael Jackson-102_Jam 1992
Xnview MP will create a name template in the Batch Rename window with:
. Name template: Michael Jackson-100_Jam ####
. Start: 1992
. Step: 1
I would like an option to generate the Name template using the 1st set of digits instead of the last set of digits such as:
. Name template: Michael Jackson-###_Jam 1992
. Start: 100
. Step: 1
P.S. If Xnview MP were really smart, it would analyze the 1st and 2nd filenames in a batch rename and not only detect that sets of numeric digits occurred in the file name in two places (e.g., 100 and 1992), but which set of digits changes between the 1st and 2nd filenames (100 : 101 vs 1992 : 1992) and generate the Name template with ### in place of 100 (which is different from 101) instead of 1992 (which doesn't change). However, an option to generate the name template using the 1st set of digits or the last set of digits is sufficient for me.
Request: Batch Rename: option to renumber using 1st set of digits in file names, not last digits
Moderators: XnTriq, helmut, xnview
-
- Posts: 10
- Joined: Sat Jan 23, 2016 3:02 am