[OK] Batch Rename-Date formats and unique incremental index

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: helmut, XnTriq, xnview

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

[OK] Batch Rename-Date formats and unique incremental index

Post by Olivier_G »

The only date format in the batch rename feature seems to be: YYYY-MM-DD_HH-MN-SS (ex: 2005-01-09_23-43-13)
Is it possible to implement a more flexible format ?

I use the "20050109_234313" style to rename all my pictures accordingly to the EXIF and keep this as an index in all versions of a picture => the shorter (still readable), the better.
And I guess that other people would love other date formats too... :D

Maybe a more detailled Date interpreter could be used ?
Something like: <Date Taken [options]> with options following some kind of standard (as can be seen here).


Another suggestion:
Could you please implement a special index that increment only to avoid duplicates ?
As an exemple: if I take 4 shots, with the first 3 in the same second and the last one on the following second, they would be named:
- 20050109_234313A.jpg
- 20050109_234313B.jpg
- 20050109_234313C.jpg
- 20050109_234314A.jpg
(with choice of Letters or Numbers + number of characters + used always or only when needed to avoid duplicates)

Thank you,

Olivier
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename - Date formats and unique incremental index

Post by xnview »

Olivier_G wrote:The only date format in the batch rename feature seems to be: YYYY-MM-DD_HH-MN-SS (ex: 2005-01-09_23-43-13)
Is it possible to implement a more flexible format ?

I use the "20050109_234313" style to rename all my pictures accordingly to the EXIF and keep this as an index in all versions of a picture => the shorter (still readable), the better.
And I guess that other people would love other date formats too... :D

Maybe a more detailled Date interpreter could be used ?
Something like: <Date Taken [options]> with options following some kind of standard (as can be seen here).
Yes, important feature i think. But what is the best. An option to choose the format of date/time, or separate item like Year, Month, Day, ....
Pierre.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Separate items

Post by Olivier_G »

I much prefer the separate items in the interpreter, for flexibility.
People would be able to use <Date Taken [B, d, YYYY]> to get "January, 10, 2005" if they want to.
And keeping those separate items optional (ie: if you only use <Date Taken> you get the usual "2005-01-10_14-01-31") will not make the program more complex to use (the detailled date/time items should be documented, though).

Another suggestion on the same topic:
It would be great to support the "\" character in order to be able to create automatically directories and subdirectories with the files (great for organizing pictures after downloading from the camera).

Olivier
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Batch Rename - Date formats and unique incremental index

Post by helmut »

xnview wrote:... Yes, important feature i think. But what is the best. An option to choose the format of date/time, or separate item like Year, Month, Day, ....
I second Olivier's opinion and would also like to have separate items.

Initially I thought of having individual placeholders (e.g. <Creation Date Day>, but this could make name template very long.

So I also vote for a format notation (e.g. <Creation Date [dd.mm.YYYY]>). Format notations have some drawbacks: One has to know about the feature, its usage and the notation. We should tackle these with extra information (tooltip, info on the dialog, and/or Online help. Documenting this would be easy if an existing notation would be used. See Olivier's link to the date utility, above).

Since templates are more complicated to write, there should be a recent list of templates, then. When deleting recent file lists, the recent list of templates should not be affected, or only if the user really wants and confirms this.
xnview wrote:Another suggestion on the same topic:
It would be great to support the "" character in order to be able to create automatically directories and subdirectories with the files (great for organizing pictures after downloading from the camera).
Another good suggestion.
Last edited by helmut on Wed Jan 19, 2005 12:32 am, edited 1 time in total.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Batch Rename - Date formats and unique incremental index

Post by Dreamer »

helmut wrote:So I also vote for a format notation (e.g. <Creation Date [dd.mm.YYYY]>).
Me too :wink:

And what about "MMM" (JAN, FEB, MAR...) or "Mmm" (Jan, Feb, Mar...) ? Because month and day might be confusing sometimes, there is a different order in different countries.
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename - Date formats and unique incremental index

Post by xnview »

Dreamer wrote:
helmut wrote:So I also vote for a format notation (e.g. <Creation Date [dd.mm.YYYY]>).
Me too :wink:

And what about "MMM" (JAN, FEB, MAR...) or "Mmm" (Jan, Feb, Mar...) ? Because month and day might be confusing sometimes, there is a different order in different countries.
Ok ;-)
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Batch Rename - Date formats and unique incremental index

Post by helmut »

Dreamer wrote:... And what about "MMM" (JAN, FEB, MAR...) or "Mmm" (Jan, Feb, Mar...) ? Because month and day might be confusing sometimes, there is a different order in different countries.
The description of the date command has really many options. I guess that Pierre will add the ones which might be useful and actually used for XnView.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Merci

Post by Olivier_G »

A big "Thank You" to Pierre for the implementation of those Batch Rename improvements: it is great, it works as expected and it is useful :D
Bravo!

Olivier
Locked