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-de...@kde.org Reporter: freisi...@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 watching all bug changes.