Summary: | Rename using database entries | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michal Thoma <michal> |
Component: | AdvancedRename-metadata | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.2.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.3.0 | |
Sentry Crash Report: | |||
Attachments: |
New rename option
Multiline comments |
Description
Michal Thoma
2010-05-16 11:42:01 UTC
Created attachment 43739 [details]
New rename option
I started to implement something, right now it is very limited (to be precise, only one keyword exists :-))
I'm not quite sure which database values I want to display here and how to present them to the user. Need to evaluate this first...
Created attachment 43740 [details]
Multiline comments
Multiline comments are cleaned up to match a single line, otherwise newline characters mess up the filename.
From my point of view, the Comment is most important. There after the copyright data, like author etc. I would like also to see the possibility to somehow include keywords though here it's get really confusing as there could be multiple keywords and multiple hierarchies... My working scenario for which I like to have keywords renaming is as follows: I have couple of images in various albums and I'm making some selection for purpose. For example I need to select some images of Mountains, Rivers and Monuments. So i create following keyword structure: My Tags > Selections > Selection #1 > Mountains | Rivers | Monuments I select the images and tag that with respective keywords. Then I export all images to new album out of archive (like ~/Images/Selection/Selecion #1/*) and I like to rename the images according to keywords with following pattern [db:all_descendants_of_keyword:"Selection_#1"]_###.ext so the result will be something like Mountains_001.tif, Rivers_001.tif etc. Is it possible? Little bit more thinking I feel that there should these possibilities for keywords renaming: -All keywords (option - separator) - unsorted list of all selected keywords with selectable sparator. -All descendants of given keyword (options - separator) - keywords sorted by level, divided by separator. If separator is slash "/" it should result in recreating of directory structure according to tags - which is in fact very desirable and useful function unfortunately still missing in digiKam. -First or second or third... descendant of given keyword ... I feel these are most useful possibilites - the others are: -All top level keywords -All bottom level keywords -All parent keywords etc. Though I don't find much practical use for these. Sure this should be possible... Right now I only added the most common values in SVN trunk, like comments, author, aperture etc... the rest needs to be analyzed a little bit more. Keywords can, as you already mentioned, really mess up the filename if they are too deeply nested. Need to check what I can do. I guess I will close this bugreport now, since the primary goal has been fixed. Michal, please open a new bugreport for adding keywords to file renaming, if this is still a needed feature. |