[digikam] [Bug 372713] New: Add options to unique modifier

Simon bugzilla_noreply at kde.org
Sun Nov 20 23:09:55 GMT 2016


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

            Bug ID: 372713
           Summary: Add options to unique modifier
           Product: digikam
           Version: 5.3.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: AdvancedRename
          Assignee: digikam-devel at kde.org
          Reporter: freisim93 at gmail.com
  Target Milestone: ---

Created attachment 102351
  --> https://bugs.kde.org/attachment.cgi?id=102351&action=edit
Patch to add some functionality to the unique modifier

My aim was to replace my current bash script for renaming my pictures. My
renaming scheme is:
*date*_*time**uniq*-*title*.*ext*
where the uniq modifier is an alphabetic character in case of naming conflicts.
So I implemented an option to user alphabetic characters instead of numbers and
to use a custom separator (or none at all in my case).
Unfortunately it turned out that there is one major problem with the entire
advancedrename module: Renaming is done file by file, so a single renaming
process can only be aware of already renamed files. Thus the first file that
will be conflicting does not get the *uniq* attachment, e.g. two conflicting
files are renamed:
   datetime-title.jpg
   datetime_1-title.jpg
while the desirable thing to happen would be
   datetime_1-title.jpg
   datetime_2-title.jpg
However I do not see how this could be easily achieved, so I will keep using my
script. However this functionality might be useful to someone, so you might as
well integrate it.

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


More information about the Digikam-devel mailing list