Bug 445360

Summary: Ability to Rename files with random value
Product: [Applications] digikam Reporter: vitria
Component: AdvancedRename-ImportAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: benedekppeter, metzpinguin
Priority: NOR    
Version: 7.3.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:

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