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
Autorename option if 2 files have the same name
Moderators: XnTriq, helmut, xnview
-
- Posts: 229
- Joined: Sat Jun 18, 2005 9:33 am
Autorename option if 2 files have the same name
XNView 1.91.5
Windows XP SP3
Windows XP SP3
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
-
- 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
Okklumy 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
Pierre.
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
-
- Author of XnView
- Posts: 44761
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
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).xnview wrote:Why, you can't have overwrite in batch rename??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.
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").
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
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...xnview wrote:Why, you can't have overwrite in batch rename??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.
Maybe there should be same option as in Batch Convert > Overwrite...
I don't like "name123b" / "name123_b" / "name123_2", so I think there should be an option...abc.jpg -> letters-2005-09-27a.jpg
def.jpg -> letters-2005-09-27b.jpg
ghi.jpg -> letters-2005-09-28.jpg...
-
- XnThusiast
- Posts: 1423
- Joined: Thu Dec 23, 2004 7:17 pm
- Location: Paris, France
Please have a look at this suggestion (and support it if you agree with the idea).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").
Olivier