Autorename option if 2 files have the same name

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

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

Autorename option if 2 files have the same name

Post by klumy » Sun Sep 25, 2005 10:08 am

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

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Sun Sep 25, 2005 4:16 pm

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: 31737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: autorename option if 2 files have the same name

Post by xnview » Mon Sep 26, 2005 8:04 am

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 » Mon Sep 26, 2005 3:05 pm

thanks ;)
XNView 1.91.5
Windows XP SP3

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Mon Sep 26, 2005 11:51 pm

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: 31737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Tue Sep 27, 2005 6:20 am

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: 8166
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Tue Sep 27, 2005 9:19 pm

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").

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Tue Sep 27, 2005 11:39 pm

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
Contact:

Post by Olivier_G » Tue Sep 27, 2005 11:44 pm

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

Post Reply