[Digikam-devel] [Bug 106928] Digikam custom filename format from date and time

Renchi Raju renchi at pooh.tam.uiuc.edu
Wed Jul 13 18:36:32 BST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=106928         




------- Additional Comments From renchi pooh tam uiuc edu  2005-07-13 19:36 -------
> - It's always four digits long and starts with "-".

how many digits do you want?

> - It numbers all imported photos from 0001 - ???? 

not sure what you are asking for. what number do you want it start from?

> User selectable length.

this is already possible. read on

> A "make the filename unique" feature, so if I have the "%Y-%m-%d" filename 
> template .....

if you want to make it unique, you will have to add the sequence number

for a completely custom template, turn off both "add datetime" and "add sequence number" and add the template manually in the prefix box. i'm not sure what template you are looking for, but i can give you an example which will ensure a unique number with date added.

photo_%Y-%m-%d_%%03d (the %% in the last term is not a typo)

so the names will be of the type:
photo-2001-01-04-001.jpg

read up on strftime man page on how to customize the date. the sequence number should of the form %%0nd (where n is the number of digits you want)

PS: this bugreport is supposed to be closed. please open a new bugreport or more appropriately, use digikam-users mailing lists (digikam-users kde org) for support questions



More information about the Digikam-devel mailing list