Bug 201661 - More options for file renaming when importing images
Summary: More options for file renaming when importing images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-Import (show other bugs)
Version: 0.10.0
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 14:42 UTC by Stefano Ferri
Modified: 2017-08-17 06:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Ferri 2009-07-27 14:42:21 UTC
Version:           0.10.0 (using KDE 4.2.3)
OS:                Linux
Installed from:    Slackware Packages

I would like to have some extra options to decide how automatically rename files when they are imported from my camera.

1- My camera assigns uppercase names, and Digikam has an option to change them to lowercase. But this feature is fully working only if imported files are saved with the original name assigned by the camera. If a custom name is chosen, extension is kept uppercase. Example:

IMG_001.JPG > becomes > img_001.jpg

while with custom names

IMG_001.JPG > becomes > my_name-001.JPG

Could be possible to change lowercase also the exension?

2- Digikam can add a sequence number to renamed files. I haven't found any option to reduce the number of digits, all files have 6 digits. I don't think will never exist somebody who will need to rename one million photos :-)! Could be possible to add an option to let user choose the number of digits? And also to let user choose the symbol between name and numbers (_ or blank space instead of -). Example:

now
IMG_001.JPG > becomes > my_name-000001.jpg
requested
IMG_001.JPG > becomes > my_name-001.jpg

Thank you.
Comment 1 caulier.gilles 2009-07-27 14:55:23 UTC
Please, try 1.0.0-beta3 where all renaming options have been very improved...

http://farm3.static.flickr.com/2563/3762013846_2487e719f7_o.png

Gilles Caulier
Comment 2 Stefano Ferri 2009-07-27 17:46:43 UTC
Thank you for your answer, I've just compiled and installed Digikam 1.0 beta 3. I must say that a great work has been done :-)

There are a lot of useful options, but also in this version, file extensions are always kept uppercase if a custom name is selected. Should'nt be good if Digikam automatically changed extensions to lowercase, when a custom name is selected? I have no one file on my system with an uppercase extension :-)!

About the number of digits, what do you think about adding a little box to choose the number of digits near the "add sequence number" box? There are still 6 digits, I think 6 are really too much...

Thank you
Stefano
Comment 3 Andi Clemens 2009-11-09 11:02:17 UTC
Only the AdvancedRename utility is used now so some parts of this report have been become invalid.

I implemented file extension modification 2 days ago, when using a custom file name, you can alter it by adding the [ext] rename option prepended by a '.' character and apply some modifier to it, like "uppercase", "lowercase" etc.

For example the rename pattern 
[file].[ext]%
will change the file extension to lowercase.

See
http://farm4.static.flickr.com/3092/4080328746_49e8a3cf2a_o.jpg

There are some modifiers that can be added / chained to file rename options.

I will close this report now, feel free to re-open it again if something is still not working for you.

Andi
Comment 4 Andi Clemens 2009-11-09 11:12:56 UTC
Stefano,

setting a custom digits count is also possible now, see this screenshot:
http://www.flickr.com/photos/26732399@N05/4089342906/in/pool-digikam-labs