[Digikam-devel] [digikam] [Bug 314441] Rename settings and auto-rotation while importing ignored [patch]

Peter Albrecht px79 at crazymonkeys.de
Mon Sep 1 21:16:14 BST 2014


https://bugs.kde.org/show_bug.cgi?id=314441

--- Comment #78 from Peter Albrecht <px79 at crazymonkeys.de> ---
(In reply to rockhopper.tux from comment #76)
> ...
> [date]{lower} will not set the .JPG extension to lower case - don't know if
> it should but I would expect it actually.

I read your pattern like: 
1) take the pictures date as string
2) convert the date string to lowercase
3) since there is no explicit extension in your pattern, the original files
extension is added, which seems to be uppercase (like in my case)

A modifier only modifies the string immediately in front of it. So from my
point of view, not changing the extension seems to be correct.
Implementing some intelligent magic like "if everything in the pattern is
lowercase, the default added extension should be lowercase, too", would make
the powerful renaming algorithm way more complex, more diffucult to maintain
and more prone to errors, I guess.
(And I personally don't like programs which _try_ to be smart and do something
I did not expect.)
Of course, this is only my opinion and free for discussion.

You can achieve, what you want with:
     [date]{lower}.[ext]{lower}

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list