<p dir="ltr">Why do you try to sync the DB file?</p>
<p dir="ltr">I thought about syncing 2 or more PCs also, but I never had the idea to sync the DB file. </p>
<p dir="ltr">To be honest, I have not yet implemented my idea for syncing, but I thought that it is sufficient to sync the pictures only.</p>
<p dir="ltr">With every sync, digiKam would detect some new or changed pics, but that should not take so long... Every unchanged/unsynced file is detected as unchanged.</p>
<p dir="ltr">I would try to let the DB file under digiKams control and never try to copy it...<br>
At least as long as you use the SQLite engine.</p>
<br><div class="gmail_quote"><div dir="ltr">Philip Tuckey <<a href="mailto:philtuckey@free.fr">philtuckey@free.fr</a>> schrieb am Mo., 30. Jan. 2017, 18:09:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg">Me too. I see the same behaviour when switching between dk running native on OS X, and running under Linux in a VM on the same machine. Database and image files are shared with the VM. Only the configuration files are specific to each OS.<br class="gmail_msg">
Philip</div><div class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On 28 January 2017 22:48:37 CET, "<a href="mailto:news@tcrass.de" class="gmail_msg" target="_blank">news@tcrass.de</a>" <torsten.crass@eBiology.de> wrote:<blockquote class="gmail_quote gmail_msg" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<pre class="m_2246003014600066532k9mail gmail_msg">Hi there,<br class="gmail_msg"><br class="gmail_msg">there's one thing I've been wondering about for quite a while:<br class="gmail_msg"><br class="gmail_msg">I use unison (<a href="https://www.cis.upenn.edu/~bcpierce/unison" class="gmail_msg" target="_blank">https://www.cis.upenn.edu/~bcpierce/unison</a>/ -- great <br class="gmail_msg">tool!) for syncing my photo collection (including digikam4.db) between <br class="gmail_msg">desktop and laptop computer. I take great care not to add or edit photos <br class="gmail_msg">on both computers simultaneously, so every syncing process is actually a <br class="gmail_msg">clean copy operation from one machine to the other. Yet, when, after <br class="gmail_msg">syncinc, I launch digikam on the target machine, it apparently does a <br class="gmail_msg">full scan of all items in the collection, which takes ages, even if only <br class="gmail_msg">a few photos have actually been added or changed. However, when <br class="gmail_msg">re-launching digiakm on the same machine without immediately preceeding <br class="gmail_msg">sync, the new items scan takes only a few seconds.<br class="gmail_msg"><br class="gmail_msg">So how does digikam decide which folders and images are to be <br class="gmail_msg">re-scanned? How can digikam possibly 'know' that there has been going on <br class="gmail_msg">something else than just local file changes?<br class="gmail_msg"><br class="gmail_msg">The only idea I came up with is that digikam might somehow detects the <br class="gmail_msg">changes in its database file's meta data (like file size, access time, <br class="gmail_msg">md5 hash value...) with respect to its last run on the same machine <br class="gmail_msg">which were introduced during syncing.<br class="gmail_msg"><br class="gmail_msg">Any comments appreciated!<br class="gmail_msg"><br class="gmail_msg">Cheers --<br class="gmail_msg"><br class="gmail_msg">-- Torsten<br class="gmail_msg"><br class="gmail_msg"></pre></blockquote></div><br class="gmail_msg"></div><div class="gmail_msg">
-- <br class="gmail_msg">
Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></blockquote></div>