Bug 141240

Summary: Camera download: file rename with regexps
Product: [Applications] digikam Reporter: Sebastian <sbtm3>
Component: AdvancedRename-ImportAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 0.9.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0

Description Sebastian 2007-02-05 21:26:22 UTC
Version:           0.9.0 (using KDE 3.5.1 Level "a" , SUSE 10.1)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.27-0.6-default

I would love to have more flexibility for renaming files when downloading from the camera (regular expressions would do for me, others might prefer different means). My particular problem is that Minolta counts files in four digits, therefore I need to insert an additional digit to keep file names unique. This could of course be achieved with a script, but since there is a camera download dialog, I figure it's a sensible extension of it.
Comment 1 caulier.gilles 2009-05-12 11:14:31 UTC
Andi,

It's implemented in 0.11. right ?

Gilles
Comment 2 Andi Clemens 2009-05-12 11:33:34 UTC
Yes, you can add additional digits with the new rename widget.
For example you could type

MyBirthdayImages_###, to have filenames like
MyBirthdayImages_001
MyBirthdayImages_002
etc...

RegExp is not implemented, so if you want to replace certain parts of the old filename, it would be best to just type in the old name without the not needed parts.

For example camera filenames are
DSC1234XX.jpg
DSC1235XX.jpg
etc...
and you don't want to have the XX in it, you can type in something like this:
DSC####{1234,1}
to have names like DSC1234, DSC1235...

But this is all explained in the tooltip of the rename widget.

So actually this report can be closed.

Andi
Comment 3 caulier.gilles 2009-05-12 11:48:04 UTC
Ok. fine...

Gilles