Confirmed.

For the time being, i believe you can prevent this by passing  --conf
write_sidecar_files=FALSE  to the dt-cli

On Sun, Oct 5, 2014 at 1:01 PM, Joerg Beyer <joerg.be...@gmail.com> wrote:

> Hi,
>
> I am setting up some automation with darktable-cli to generate some foto
> collections. I thought using good old make (the tool to automate
> compilations etc) would be a good idea, but I found out, that darktable-cli
> changes the modification time of the xmp sidecar files.
>
> for illustration:
> joerg@dilbert:~/tmp$ date
> So 5. Okt 10:57:10 CEST 2014
> joerg@dilbert:~/tmp$ ls -la
> insgesamt 19180
> drwx------   2 joerg joerg     4096 Okt  5 10:57 .
> drwxrwxr-x 172 joerg joerg    20480 Okt  5 09:49 ..
> -rw-rw-r--   1 joerg joerg 19606386 Okt  5 10:56 IMG_6905.CR2
> -rw-rw-r--   1 joerg joerg     4656 Okt  5 10:56 IMG_6905.CR2.xmp
> joerg@dilbert:~/tmp$ date
> So 5. Okt 10:57:19 CEST 2014
> joerg@dilbert:~/tmp$ darktable-cli IMG_6905.CR2 IMG_6905.CR2.xmp
> IMG_6905.jpg --width 1000 --height 1000
> [export_job] exported to `IMG_6905.jpg'
> joerg@dilbert:~/tmp$ ls -la
> insgesamt 19844
> drwx------   2 joerg joerg     4096 Okt  5 10:57 .
> drwxrwxr-x 172 joerg joerg    20480 Okt  5 09:49 ..
> -rw-rw-r--   1 joerg joerg 19606386 Okt  5 10:56 IMG_6905.CR2
> -rw-rw-r--   1 joerg joerg     4674 Okt  5 10:57 IMG_6905.CR2.xmp
> -rw-rw-r--   1 joerg joerg   679573 Okt  5 10:57 IMG_6905.jpg
>
> you can see, that the modifiaction time for the xmp file was updated from
> 10:56 to 10:57.
>
> It seems to be no problem, if DT can't write the xmp file, because file
> permissions forbit it:
>
> joerg@dilbert:~/tmp$ chmod 440 IMG_6905.CR2.xmp
> joerg@dilbert:~/tmp$ rm IMG_6905.jpg
> joerg@dilbert:~/tmp$ darktable-cli IMG_6905.CR2 IMG_6905.CR2.xmp
> IMG_6905.jpg --width 1000 --height 1000
> [export_job] exported to `IMG_6905.jpg'
> joerg@dilbert:~/tmp$ ls -la
> insgesamt 19844
> drwx------   2 joerg joerg     4096 Okt  5 10:59 .
> drwxrwxr-x 172 joerg joerg    20480 Okt  5 09:49 ..
> -rw-rw-r--   1 joerg joerg 19606386 Okt  5 10:56 IMG_6905.CR2
> -r--r-----   1 joerg joerg     4674 Okt  5 10:57 IMG_6905.CR2.xmp
> -rw-rw-r--   1 joerg joerg   679573 Okt  5 10:59 IMG_6905.jpg
>
> the jpeg file is OK.
>
> Would a patch to write the sidecars back to disk, only if the have changes
> be  accepted?
>
> regards
> Joerg
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to