Hi,

The timestamps were created precisely to record all darktable's input/output 
operations.
It is therefore normal that the export timestamp is updated with each export.

Resetting it to -1 would cause you to irretrievably lose the information.
Moreover, as Patrick says in his previous answer, this modification of the xmp 
file
should be saved in the DB, otherwise it will be overwritten during a later 
export operation.

The fact that a checksum calculation is different after an export is quite 
normal
since it reflects the fact that "something happened" to this file.
The content of this file is entirely governed by darktable and other photo 
software.
It is therefore unwise to rely on it for other uses.

JPV



Le 04/03/2021 à 20:29, Patrick Shanahan a écrit :
* Bengt <[email protected]> [03-04-21 13:02]:
The xmp file contains Epoch time information. E. g:
      darktable:import_timestamp="1614867405"
      darktable:change_timestamp="-1"
      darktable:export_timestamp=""1614868405
      darktable:print_timestamp="-1"

The time information is altered whenever a picture is exported. I. e. not
modified, only exported to jpg file for presentation.

In case of backing up files into archives, this results in different xml
file contents whenever a picture has been exported and in errors when
archive versions are compared/checked (md5sum-ing).

Questions:
1: Is there any way in darktable to avoid timestamp registration when only 
exporting or printing?
2: Is it "dangerous" to force export_- and print_timestamps to "-1" by
writing an external script that modifies all xml files before archiving (and
export/print time information is unimportant for the user)?
3: Any other suggestions?
the <file>.xmp is a duplicate of what the library.db contains and, if
modified externally (not by dt), affected images need to be re-imported or
their xmp files re-read to update library.db.



____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to