Batch Rename: add an item to avoid duplicates

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Batch Rename: add an item to avoid duplicates

Post by Olivier_G »

Could you please implement a special index to avoid duplicates?
(I call it <unique> to explain how it works)

The user should be able to choose:
- if this index is made of numbers("0") or of characters("A") through an interpreter
- if this index appears even when there are no duplicate (with "!" character in front)
- and add any other character as required

Example 1: <unique[_00]> would mean that it is based on 2 numbers after a "_" and is shown only when necessary.

Code: Select all

Test1<unique[_00]>   => Test1
Test1<unique[_00]>   => Test1_02
Test2<unique[_00]>   => Test2
Example 2: <unique[!A]> would mean that it is based on 1 character and is always shown.

Code: Select all

Test1<unique[!A]>   => Test1A
Test1<unique[!A]>   => Test1B
Test2<unique[!A]>   => Test2A
It is extremely important when you rename images based on the EXIF Date&Hour to avoid duplicates with images in the same second (ie: bursts of frames).

Olivier
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Good---

Post by Clo »

:) Hello !

- This seems a good way, I support the request…
… though I've not often a lot of images to rename as one go, and we have a similar tool in Total Commander, supporting RegEx ( I don't use it a lot too :P )

:mrgreen: Kind regards, Cordialement,
Claude
Clo

[OT] This is my message #700 !
Old user ON SELECTIVE STRIKE till further notice
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

Hi Claude,
Thanks for your support... and happy "#700" :mrgreen:
(1 left for my #200)

Olivier
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

Olivier_G wrote:(1 left for my #200)
Done... :mrgreen:
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch Rename: add an item to avoid duplicates

Post by xnview »

Yes, very good suggestion!
Pierre.