Autorename option if 2 files have the same name

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

klumy
Posts: 229
Joined: Sat Jun 18, 2005 9:33 am

Autorename option if 2 files have the same name

Post by klumy »

autorename option if 2 files have the same name after a copy/move file operation

e.g. the oldfilename will be renamed to

oldfilename_01
oldfilename_02
.....

otherwise I have to do this all manual
XNView 1.91.5
Windows XP SP3
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

I agree, also in "Batch rename".

I suggest dialog box with 3 buttons: [Cancel], [Rename] and [Overwrite].

Maybe also: [x] Do not show this dialog next time.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: autorename option if 2 files have the same name

Post by xnview »

klumy wrote:autorename option if 2 files have the same name after a copy/move file operation

e.g. the oldfilename will be renamed to

oldfilename_01
oldfilename_02
.....

otherwise I have to do this all manual
Ok
Pierre.
klumy
Posts: 229
Joined: Sat Jun 18, 2005 9:33 am

Post by klumy »

thanks ;)
XNView 1.91.5
Windows XP SP3
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

What about this?
Dreamer wrote:I agree, also in "Batch rename".

I suggest dialog box with 3 buttons: [Cancel], [Rename] and [Overwrite].

Maybe also: [x] Do not show this dialog next time.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Dreamer wrote:What about this?
Dreamer wrote:I agree, also in "Batch rename".

I suggest dialog box with 3 buttons: [Cancel], [Rename] and [Overwrite].

Maybe also: [x] Do not show this dialog next time.
Why, you can't have overwrite in batch rename??
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

xnview wrote:
Dreamer wrote:What about this?
Dreamer wrote:I agree, also in "Batch rename".

I suggest dialog box with 3 buttons: [Cancel], [Rename] and [Overwrite].

Maybe also: [x] Do not show this dialog next time.
Why, you can't have overwrite in batch rename??
Right, currently batch renaming can only be performed if all new filenames are unique, XnView checks for that which is good and must remain (during a Batch operation one should not be forced to manually confirm dialogs).

But if the user wants to use date only and there are name clashes, it would be good if there was an optional enumerator which is applied whenever there is such a name clash. This way, one could rename files from

abc.jpg -> letters-2005-09-27a.jpg
def.jpg -> letters-2005-09-27b.jpg
ghi.jpg -> letters-2005-09-28.jpg

Please note the "a" and "b" in the above new file names, but no "c" in the last filename.

I'm not quite clear how this should work in details, e.g. some people want a numeric enumerator, some a alphanumeric, and some might want not just several characters (e.g. "-a" instead of just "a").
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

xnview wrote:
Dreamer wrote:What about this?
Dreamer wrote:I agree, also in "Batch rename".

I suggest dialog box with 3 buttons: [Cancel], [Rename] and [Overwrite].

Maybe also: [x] Do not show this dialog next time.
Why, you can't have overwrite in batch rename??
Sometimes I need to overwrite few files (duplicates), it's easier than find and delete those files first (e.g. 1000 files in dir.). There is also new option "Replace/With" in BR, so it can be used for several purposes...

Maybe there should be same option as in Batch Convert > Overwrite...
abc.jpg -> letters-2005-09-27a.jpg
def.jpg -> letters-2005-09-27b.jpg
ghi.jpg -> letters-2005-09-28.jpg...
I don't like "name123b" / "name123_b" / "name123_2", so I think there should be an option...
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

helmut wrote:But if the user wants to use date only and there are name clashes, it would be good if there was an optional enumerator which is applied whenever there is such a name clash. This way, one could rename files from:
abc.jpg -> letters-2005-09-27a.jpg
def.jpg -> letters-2005-09-27b.jpg
ghi.jpg -> letters-2005-09-28.jpg
Please note the "a" and "b" in the above new file names, but no "c" in the last filename.

I'm not quite clear how this should work in details, e.g. some people want a numeric enumerator, some a alphanumeric, and some might want not just several characters (e.g. "-a" instead of just "a").
Please have a look at this suggestion (and support it if you agree with the idea). :D

Olivier