Bug 398377

Summary: Rename jpg and related dng file keeping the same base name
Product: [Applications] digikam Reporter: Reiner Nix <reiner.nix>
Component: AdvancedRename-dialogAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: brownphotographic, caulier.gilles, Jens_Westemeier, metzpinguin
Priority: NOR    
Version: 5.9.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description Reiner Nix 2018-09-07 18:52:16 UTC
Hi,

When I have created two files with the same image, one in jpg and the other in png format, the cameray will store them with the same name, e.g. K_3_1243.JPG and K_3_1243.DNG.

I am using the rename tool with a pattern "[date:yyyy-MM-dd]_###[1]". 
I like to rename these files while keeping the same base name, e.g. 2018-09-01_001.JPG and 2018-09-01_001.DNG.

Best regards
Reiner
Comment 1 Maik Qualmann 2020-09-18 05:51:50 UTC
*** Bug 426662 has been marked as a duplicate of this bug. ***
Comment 2 Maik Qualmann 2021-10-19 08:49:24 UTC
*** Bug 444023 has been marked as a duplicate of this bug. ***
Comment 3 Maik Qualmann 2021-11-12 21:26:42 UTC
Sometimes, as a developer, you discover a function that you haven't seen before. The desired function already exists with the [e] parameter. If the base name is the same, the counter is retained.

Example: Image-####[e]

Maik