Bug 284585 - Preserve RSync compatibility when changing Exif orientation and not Modification time.
Summary: Preserve RSync compatibility when changing Exif orientation and not Modificat...
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Orientation (show other bugs)
Version: 2.2.0
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 04:36 UTC by Tex
Modified: 2017-08-11 21:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tex 2011-10-21 04:36:18 UTC
Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

I like to keep modification dates unchanged.
I also use exif orientation changes and rsync which checks for file size and modification date differences.

After the first meta-data change (when digikiam adds some digikam version to the metadata) future exif orientation changes do not change the files size.  If modification time changes are also disabled then rsync sees no change in the file (without enabling full checksumming, and who wants to do that?)

It would be kind of spiffy if digikam could check this, notice the unchanged file size and time and add a single byte of padding somewhere. Maybe if the padding gets absurd it could eventually wrap back to zero, but that's probably not even an issue practically.

OK it's a self-inflicted corner case, and probably very egocentric, but that's my funny wish. ;)

Reproducible: Always

Steps to Reproduce:
-unselect update filetimestamp when metadata are saved
-change exif orientation once
-rsync the file to somewhere
(works fine if the file was never previously modified by digikim)
-change exif orientation again
-rsync again, does not detect the change and does not transfer the file.


Expected Results:  
I fully expect the present results.
But I'd like the second rsync to work.
Comment 1 caulier.gilles 2011-10-31 17:04:26 UTC
Configure digiKam to update time-stamp for each changes on your files. rsync will detect changes and synchronize repositories. Also take a care about how you use rsync options.

Gilles Caulier
Comment 2 Tex 2011-11-13 08:57:19 UTC
That's fine, and completely understood if this request is just too particular , but the point was to be able to NOT change the time-stamp.  I knew already how to do it by changing the time-stamps.
Comment 3 caulier.gilles 2014-09-05 20:50:47 UTC
The option in metadata setup panel to handle time-stamp of file is the right option to use :

"Update file timestamp when files are modified"

You must turn off this option to fix your problem.

Gilles Caulier