[digiKam-users] sqlite database albumroot migration?

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

[digiKam-users] sqlite database albumroot migration?

Peter Teuben

Is there a tool by which one can take a particular album (tree of
pictures) from one disk to another. [or point from a new digikam4.db to
this location].

Presumable I need to:

     1) copy the data

     2) take the appropriate album and albumroot from one digikam4.db to
the new one

I'm only talking about the sqlite option now, is there a known
example/recipe for this?

I'm also skipping the thumbnails-digikam.db and recognition.db for now.


I did some (unfinished) work in python2 for this some years ago, and now
have a reason to work on this, which means python3 and add functions I
never did implement.

- peter


Reply | Threaded
Open this post in threaded view
|

Re: sqlite database albumroot migration?

Maik Qualmann
It is no longer necessary to adapt the album root externally with the latest digiKam versions. From about digiKam-6.3.0 and larger, a new album base path can be assigned in the collection settings with the refresh button (next to the delete button).

Maik

Am Di., 5. Mai 2020 um 16:56 Uhr schrieb Peter Teuben <[hidden email]>:

Is there a tool by which one can take a particular album (tree of
pictures) from one disk to another. [or point from a new digikam4.db to
this location].

Presumable I need to:

     1) copy the data

     2) take the appropriate album and albumroot from one digikam4.db to
the new one

I'm only talking about the sqlite option now, is there a known
example/recipe for this?

I'm also skipping the thumbnails-digikam.db and recognition.db for now.


I did some (unfinished) work in python2 for this some years ago, and now
have a reason to work on this, which means python3 and add functions I
never did implement.

- peter


Reply | Threaded
Open this post in threaded view
|

Re: sqlite database albumroot migration?

Gilles Caulier-4
In reply to this post by Peter Teuben
Hi,

Look on github if you find your wish :

https://github.com/search?q=digikam

Best

Gilles Caulier

Le mar. 5 mai 2020 à 16:56, Peter Teuben <[hidden email]> a écrit :

>
>
> Is there a tool by which one can take a particular album (tree of
> pictures) from one disk to another. [or point from a new digikam4.db to
> this location].
>
> Presumable I need to:
>
>      1) copy the data
>
>      2) take the appropriate album and albumroot from one digikam4.db to
> the new one
>
> I'm only talking about the sqlite option now, is there a known
> example/recipe for this?
>
> I'm also skipping the thumbnails-digikam.db and recognition.db for now.
>
>
> I did some (unfinished) work in python2 for this some years ago, and now
> have a reason to work on this, which means python3 and add functions I
> never did implement.
>
> - peter
>
>