[Digikam-users] how to get tags from one album to another?

Arnd Baecker arnd.baecker at web.de
Fri Jul 20 13:19:42 BST 2007


Hi Daniel,

On Fri, 20 Jul 2007, Daniel Bauer wrote:

> Hello,
>
> I work(ed) with digikam 0.9.2 and with svn-version. Each version has its own
> album path and db.
>
> Now I'd like to move all photos from 0.9.2 to the svn folder, but
> *without loosing all my tags*.
>
> How can I do that?
>
> First idea was, to write all tags into IPTC and then move the folders and let
> create the tags from IPTC in the "new" album. But as there are a lot of
> tagged images in formats that don't support IPTC (CR2, tiff), this approach
> doesn't work...
>
> Is there a tool/script/something that could help me move the pictures together
> with their tags?

Not that I know of.
But it should be possible in the following way:
a) copy all images from 0.9.2 folder to the svn-folder
   (digikam is assumed to be not running). Use `cp -rp`
   to preserve rights etc.
b) start svn digikam so that all images get integrated into the database.
   leave digikam
c) Now the hard part is to write a script which
   for each of the new images
   - finds the database entries which are associated with it
     in the 0.9.2 database
   - adds those entries to the svn database
d) start svn digikam and all should be fine ;-)

Maybe cdigi
http://www.kde-apps.org/content/show.php?content=15103
could be used to extract the data?

I know, this is not a simple out of the box solution as
it requires to write the script. Morever, I have
to admit, that so far I have only used the database
to read properties, but never used it to add new stuff ...

Best, Arnd



More information about the Digikam-users mailing list