Bug 445360 - Ability to Rename files with random value
Summary: Ability to Rename files with random value
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-Import (show other bugs)
Version: 7.3.0
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-12 02:34 UTC by vitria
Modified: 2022-05-29 17:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vitria 2021-11-12 02:34:36 UTC
Hi everyone

In Digikam when we rename files with import or rename them with BQM, we can chose metadata values or incremental values and not random values. It can be limited. 
For example when i import landscapes pictures into my landscapes folder i can only use the date values as namming pattern because all others choice will result in duplicates.

It can be useful to include random namming (UUID v1/2/4 can be cool) for people who have folders of memes or theme-related photos and use Tags/metadata to find files instead of files names.


EXPECTED RESULT
Be able to rename files with random value Like UUIDv4 and/or others random value generators.


ADDITIONAL INFORMATION
English isn't my first language, i'm sorry if there is faults. And it's also my first bug report here, i'm sorry if i have done mistakes.

Thx if you take this proposal into consideration.
Comment 1 Peter 2022-05-29 15:02:13 UTC
This would be a very useful feature...
Comment 2 Maik Qualmann 2022-05-29 15:48:43 UTC
You really want a rename to a filename like this:

0fdd0da2-3639-416c-a403-2ac8e53b62c4.jpg

Maik
Comment 3 vitria 2022-05-29 16:13:17 UTC
(In reply to Maik Qualmann from comment #2)
> You really want a rename to a filename like this:
> 
> 0fdd0da2-3639-416c-a403-2ac8e53b62c4.jpg
> 
> Maik

Sometimes it's better than 

irrelevant/irrelevant-####.jpg

Vitria
Comment 4 Maik Qualmann 2022-05-29 17:23:34 UTC
Git commit 2a96a1881e55990dd06a212ffba96769420439a8 by Maik Qualmann.
Committed on 29/05/2022 at 17:22.
Pushed by mqualmann into branch 'master'.

add random text numbering to Advanced Rename
The sequence numbering has a option [r] now.
FIXED-IN: 8.0.0

M  +14   -3    core/utilities/advancedrename/advancedrenamemanager.cpp
M  +1    -0    core/utilities/advancedrename/advancedrenamemanager.h
M  +35   -11   core/utilities/advancedrename/parser/options/sequencenumberoption.cpp
M  +7    -0    core/utilities/advancedrename/parser/options/sequencenumberoptiondialogwidget.ui

https://invent.kde.org/graphics/digikam/commit/2a96a1881e55990dd06a212ffba96769420439a8