Bug 141240 - Camera download: file rename with regexps
Summary: Camera download: file rename with regexps
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-Import (show other bugs)
Version: 0.9.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 21:26 UTC by Sebastian
Modified: 2017-08-16 05:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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