merge two digikam DBs

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

merge two digikam DBs

David Obando
Hi all,

I would like to merge two digikam DBs (v2.5.0). I found some posts on
the mailing list but couldn't find the description in the docs. The docs
linked from digikam.org to docs.kde.org do not exist btw.
Could anybody give me a hint how to do the merge?

Best regards,
David

--
The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners.
gpg --keyserver pgp.mit.edu --recv-keys 1920BD87
Key fingerprint = 3326 32CE 888B DFF1 DED3  B8D2 105F 29CB 1920 BD87

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: merge two digikam DBs

Peter Albrecht
Hello David,

if your database contains only jpgs (no raws or videos) you
could do this:

 1. write all metadata into those jpgs
 2. start a new database
 3. include both root folders, containing your databases

DigiKam should find and read metadata (tags, comments and
ratings) from your jpg files.
This way you could also include one database in another
existing one. You don't have to start with a new database.

This attempt fails, if you have:
 - raws with metadata (tags, ratings, ...)
 - videos with metadata (tags, ratings, ...)
 - metadata which can't be written to jpg files

Regards,
        Peter

On 20.05.2012 15:04, David Obando wrote:

> Hi all,
>
> I would like to merge two digikam DBs (v2.5.0). I found some posts on
> the mailing list but couldn't find the description in the docs. The docs
> linked from digikam.org to docs.kde.org do not exist btw.
> Could anybody give me a hint how to do the merge?
>
> Best regards,
> David
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: merge two digikam DBs

David Obando
Hello,

thanks for the answer. I would like to migrate the ratings - these are
not written in the JPEGs, are they?

Best regards,
David

Am 20.05.2012 20:17, schrieb Peter Albrecht:

> Hello David,
>
> if your database contains only jpgs (no raws or videos) you
> could do this:
>
>  1. write all metadata into those jpgs
>  2. start a new database
>  3. include both root folders, containing your databases
>
> DigiKam should find and read metadata (tags, comments and
> ratings) from your jpg files.
> This way you could also include one database in another
> existing one. You don't have to start with a new database.
>
> This attempt fails, if you have:
>  - raws with metadata (tags, ratings, ...)
>  - videos with metadata (tags, ratings, ...)
>  - metadata which can't be written to jpg files
>
> Regards,
> Peter
>
> On 20.05.2012 15:04, David Obando wrote:
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users


--
The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners.
gpg --keyserver pgp.mit.edu --recv-keys 1920BD87
Key fingerprint = 3326 32CE 888B DFF1 DED3  B8D2 105F 29CB 1920 BD87

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: merge two digikam DBs

Anders Lund
Den 21-05-2012 21:44, David Obando skrev:

> Hello,
>
> thanks for the answer. I would like to migrate the ratings - these are
> not written in the JPEGs, are they?
>
> Best regards,
> David
>
> Am 20.05.2012 20:17, schrieb Peter Albrecht:
>> Hello David,
>>
>> if your database contains only jpgs (no raws or videos) you
>> could do this:
>>
>>   1. write all metadata into those jpgs
>>   2. start a new database
>>   3. include both root folders, containing your databases
>>
>> DigiKam should find and read metadata (tags, comments and
>> ratings) from your jpg files.
>> This way you could also include one database in another
>> existing one. You don't have to start with a new database.
>>
>> This attempt fails, if you have:
>>   - raws with metadata (tags, ratings, ...)
>>   - videos with metadata (tags, ratings, ...)
>>   - metadata which can't be written to jpg files
>>
>> Regards,
>> Peter
>>
>> On 20.05.2012 15:04, David Obando wrote:
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>
A really stupid, simplistic idea: make a search that finds all images in
db A, select all, drag and drop to album in DB2

Anders
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: merge two digikam DBs

Peter Albrecht
In reply to this post by David Obando
Hello David,

you can configure this.

In "Settings"
  -> "Configure DigiKam..."
    -> "Metadata"
      -> "Behaviour"
        -> "Common Metadata Actions"
you can select
 "[x] Save image rating in metadata embedded in files"

This will write any further image ratings in your digiKam
database and the jpg file.

For all old jpgs:
  1. Start a search to get them all
  2. select all
  3. "Image" -> "Write Metadata to image"

To make sure, everything worked, I looked with a hex editor
(e.g. "Okteta" or just "xxd") at the jpg files. ;)

Regards,
        Peter

On 21.05.2012 21:44, David Obando wrote:

> Hello,
>
> thanks for the answer. I would like to migrate the ratings - these are
> not written in the JPEGs, are they?
>
> Best regards,
> David
>
> Am 20.05.2012 20:17, schrieb Peter Albrecht:
>> Hello David,
>>
>> if your database contains only jpgs (no raws or videos) you
>> could do this:
>>
>>  1. write all metadata into those jpgs
>>  2. start a new database
>>  3. include both root folders, containing your databases
>>
>> DigiKam should find and read metadata (tags, comments and
>> ratings) from your jpg files.
>> This way you could also include one database in another
>> existing one. You don't have to start with a new database.
>>
>> This attempt fails, if you have:
>>  - raws with metadata (tags, ratings, ...)
>>  - videos with metadata (tags, ratings, ...)
>>  - metadata which can't be written to jpg files
>>
>> Regards,
>> Peter
>>
>> On 20.05.2012 15:04, David Obando wrote:
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: merge two digikam DBs

David Obando
Hi,

thank you very much for your hint - it worked perfectly!

Regards,
David

Am 22.05.2012 19:57, schrieb Peter Albrecht:

> Hello David,
>
> you can configure this.
>
> In "Settings"
>   -> "Configure DigiKam..."
>     -> "Metadata"
>       -> "Behaviour"
>         -> "Common Metadata Actions"
> you can select
>  "[x] Save image rating in metadata embedded in files"
>
> This will write any further image ratings in your digiKam
> database and the jpg file.
>
> For all old jpgs:
>   1. Start a search to get them all
>   2. select all
>   3. "Image" -> "Write Metadata to image"
>
> To make sure, everything worked, I looked with a hex editor
> (e.g. "Okteta" or just "xxd") at the jpg files. ;)
>
> Regards,
> Peter
>
> On 21.05.2012 21:44, David Obando wrote:
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users


--
The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners.
gpg --keyserver pgp.mit.edu --recv-keys 1920BD87
Key fingerprint = 3326 32CE 888B DFF1 DED3  B8D2 105F 29CB 1920 BD87

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users