LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Digikam and rsync (https://www.linuxquestions.org/questions/linux-software-2/digikam-and-rsync-4175450180/)

leupi 02-14-2013 04:12 PM

Digikam and rsync
 
I'm using digiKam to manage my photo library and just started using rsync to back it all up to my server. rsync will only back up what has changed which is exactly what I wanted.

I have digiKam set to write the metadata to the image and that seems to work. If I upload the image to Flickr the metadata is there. I'm noticing that when I modify metadata with digiKam the timestamp of the file does not change and this keeps rsync from knowing that the files is modified and as a consequence it doesn't sync it to my destination folder.

Is there a way to get digiKam to modify the timestamp when metadata is written? Or am I looking at this the wrong way?

Rod J 02-15-2013 10:15 PM

Hi, I'm using digiKam v2.5.0 on Kubuntu 12.04.

In Settings, Configure digiKam, Metadata, Behavior tab, Common Metadata Actions, there is an option to "Update file timestamp when metadata are saved".

Haven't tried it myself but I presume that would do what you want.

Another option if the above doesn't work would be to use the rsync --checksum option to compare the files for changes aside from the quick date/time/size method but this would considerably slow down the syncing operation.

JZL240I-U 02-19-2013 09:46 AM

Is this issue solved? If so, please mark this thread accordingly with the thread tools.

leupi 02-19-2013 10:38 AM

That did the trick. Thanks.


All times are GMT -5. The time now is 07:01 PM.