Batch Rename > Reset counter each new day; Sorting option

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
Berti
Posts: 2
Joined: Wed Jun 04, 2025 8:59 am

Batch Rename > Reset counter each new day; Sorting option

Post by Berti »

Hello!

Current problem:
I have to rename several hundreds of photos from "IMG_####.jpg" to "YYYY-MM-DD_##.jpg" ( {EXIF:Date Taken [Y-m-d]}_## ).
The photo numbering shall start with 01 again every new day:
IMG0100 --> 2025-06-02_01.jpg
IMG0101 --> 2025-06-02_02.jpg
IMG0102 --> 2025-06-03_01.jpg
IMG0103 --> 2025-06-03_02.jpg
IMG0104 --> 2025-06-03_03.jpg
IMG0105 --> 2025-06-04_01.jpg
...

With the Batch Rename Tool in its current version I have to select all photos from one single day manually. That is slow and prone to failure.

Suggestion:
I'd like to suggest another option for the Counter (##) you can set in the Batch Rename Tool.
Something like...

Code: Select all

Reset counter (#) after variable changes: {EXIF:Date Taken [Y-m-d]}
When the variable string {EXIF:Date Taken [Y-m-d]} (or any other string) changes from one file to another, the counter should reset to its starting value.

The only problem I can think of:
When the files are not in chronological order it could happen that the counter gets resetted and we get duplicate names:

Sorted by file size (and not by name or date)
IMG0105 --> 2025-06-04_01.jpg
IMG0104 --> 2025-06-03_01.jpg
IMG0103 --> 2025-06-03_02.jpg
IMG0101 --> 2025-06-02_01.jpg
IMG0102 --> 2025-06-03_01.jpg
IMG0100 --> 2025-06-02_01.jpg

Therefore a sorting option (e.g. "Sort by Date") would be helpful in the Batch Rename Tool.
This option was present in XnView - but disappeared in XnView MP. I don't know why...

I'd be sooo happy if you could implement such a feature. Thank you!
Post Reply