Darktable sidecar files and Buddy Expressions

Started by robbo56gbr, May 11, 2025, 07:03:52 PM

Previous topic - Next topic

robbo56gbr

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

Mario


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.

robbo56gbr

Thanks Mario, this expression works fine. I have a kind of related question but will make a new specific post for clarity