photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: robbo56gbr on May 11, 2025, 07:03:52 PM

Title: Darktable sidecar files and Buddy Expressions
Post by: robbo56gbr on May 11, 2025, 07:03:52 PM
I am aware that there are posts already on this topic but I cannot see a conclusion so I am posting new question.

My raw files are Canon CR2 and I already have the buddy file definition set as follows:
^(_*{name})[+\-_]*[0-9|a-z]*\.(jpg|jpeg|dng|tif|tiff)$

This works fine.
Now I started to use Darktable - the raw adjustments are stored in xmp file such as IMGName.CR2.xmp

If I rename or move the raw file I would like the darktable file to be modified as a buddy file. Is it possible and if so what is correct way to define

Thanks
Title: Re: Darktable sidecar files and Buddy Expressions
Post by: Mario on May 11, 2025, 07:32:26 PM

QuoteNow I started to use Darktable - the raw adjustments are stored in xmp file such as IMGName.CR2.xmp
Now, that's not a good idea of Darktable. This can cause a lot of confusion with other software. Why .XMP when it's DarkTable settings? Why not using a DarkTable namespace in regular XMP, like Lightroom and other software does it? Or using a extension not already associated with XMP?`

You should be able to handle this by adding cr2\.xmp to your buddy file mask regexp.
Title: Re: Darktable sidecar files and Buddy Expressions
Post by: robbo56gbr on May 12, 2025, 11:59:41 AM
Thanks Mario, this expression works fine. I have a kind of related question but will make a new specific post for clarity