[digiKam-users] How can I keep Digikam synchronized on two systems?

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

[digiKam-users] How can I keep Digikam synchronized on two systems?

Chris Green
Maybe this just isn't possible.

I want to run Digikam on two systems with the same images and
configuration on both systems.  Both systems are xubuntu 18.04 and I'm
running the Digikam 6.0 beta.

What I want to be able to do is make changes on one system and then,
manually, copy those changes to the other system so that the Digikam
there will be 'in sync' with the system I have changed.

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: How can I keep Digikam synchronized on two systems?

woenx
What do you mean exactly by "make changes on one system and then, manuaqlly,
copy those changes"?

I use digikam in my laptop, and my parents use it in their computer at their
house. When I make changes in some pictures (and those changes are saved in
the picture metadata), when their start digikam, it scans for changes and
updates the metadata in their database. If some pictures were removed, they
are also removed from their digikam database. And viceversa. We both use
digikam 6.0 beta.

So in that way it's possible to keep two digikam databases in sync, if
that's what you mean. If you mean the configuration files, then I'm not sure
(you could sync them using rsync, unison, or something, maybe).



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: How can I keep Digikam synchronized on two systems?

Chris Green
woenx <[hidden email]> wrote:
> What do you mean exactly by "make changes on one system and then, manuaqlly,
> copy those changes"?
>
By "make changes" I mean change metadata and/or tags (which are
metadata really).


> I use digikam in my laptop, and my parents use it in their computer at their
> house. When I make changes in some pictures (and those changes are saved in
> the picture metadata), when their start digikam, it scans for changes and
> updates the metadata in their database. If some pictures were removed, they
> are also removed from their digikam database. And viceversa. We both use
> digikam 6.0 beta.
>
Well I thought that's what I was doing but it doesn't seem to work.
When I change tags on one system the changes don't seem to get to the
other sytstem.

How do you copy the changes from your laptop to your parents' system?
I'm using rsync with the --update option.


> So in that way it's possible to keep two digikam databases in sync, if
> that's what you mean. If you mean the configuration files, then I'm not sure
> (you could sync them using rsync, unison, or something, maybe).
>
No, I don't mean the configuration.


I'll do some more trials of a few changes on one system, copying the
files and then looking to see how things are on the other system.

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: How can I keep Digikam synchronized on two systems?

woenx
I use unison to sync the pictures in the two computers, which internally uses
rsync. https://www.cis.upenn.edu/~bcpierce/unison/

As long as the changes are saved to the pictures themselves, another digikam
instance should detect them when scanning for new items on startup.

First of all, change something in a picture (like adding a Tag), and make
sure these are saved to the file (Sometimes doing right click->Properties is
enough to see the tags).

Then I'd sync the pictures, and make sure those changes are propagated to
the other computer.

Lastly, make sure the options "Scan for new items at startup" and "Remove
obsolete core database objects" are enabled in Settings-> Configure->
Miscellaneous.

And that's it. It works fine for me in digikam 6.0 beta.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: How can I keep Digikam synchronized on two systems?

Chris Green
woenx <[hidden email]> wrote:
> I use unison to sync the pictures in the two computers, which internally uses
> rsync. https://www.cis.upenn.edu/~bcpierce/unison/
>
> As long as the changes are saved to the pictures themselves, another digikam
> instance should detect them when scanning for new items on startup.
>
Yes, I wonder if "scan for new items on startup" is a bit of a
misleading setting as (hopefully) it scan's for *changed* items on
startup.


> First of all, change something in a picture (like adding a Tag), and make
> sure these are saved to the file (Sometimes doing right click->Properties is
> enough to see the tags).
>
> Then I'd sync the pictures, and make sure those changes are propagated to
> the other computer.
>
> Lastly, make sure the options "Scan for new items at startup" and "Remove
> obsolete core database objects" are enabled in Settings-> Configure->
> Miscellaneous.
>
> And that's it. It works fine for me in digikam 6.0 beta.
>
OK, thanks, I'll go through this sequence carefully and check my
settings.

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: How can I keep Digikam synchronized on two systems?

Chris Green
In reply to this post by woenx
See new thread, "I think I have found the synchonization bug/problem"

--
Chris Green
·