Suggestion: XMP Sidecar File Folder

I think DT should create a XMP folder in each imported picture folder.
All the XMP sidecar files should be created and saved into the XMP folder.

That would make moving your raw files around extremely difficult.

2 Likes

Why do you think that’s useful?

Now at least it’s easy to get image/raw files and their associated sidecars in one view, so if you have to move them around manually, it’s doable.
With an extra subdirectory, that gets harder than needed.

And that’s not even taking into account that most other programs expect sidecar files to be in the same directory as the parent file. Some of us rely on that detail in our workflow…

I understand your concerns about moving them.
I do all my moving and arranging in Windows File Explorer before importing to DT.
The only moving I would do after the import to DT is the creation of a new folder for the tiff or jpeg exports from DT.
The Nikon software creates a sidecar folder in the root for all the sidecar files, very clean.

Hi Steve,
the current system works very well for me and I presume others. How would you propose the change needs to be implemented (as an option in preferences?). Also, you would need to convince the developers that it is worth there time to do this. Thanks for your suggestion.

I have the same opinion as @paperdigits :
I hardly ever browse my raws/exports with a file manager, just with photo manager and DT light table, I never see the relative mess you mention.

If it’s just about having an “processed” or “exported” folder in your raw folder or elsewhere, the export module of DT can do that for you ! You can use a buch of available variables to custom the export path : darktable 4.2 user manual - variables

Is that by any chance the same software that caused you issues with file corruption?

Also, while you may not need to move files around after importing in dt, others may have to…
And what do you propose to do to maintain inter-operability with other programs?

Dt doesn’t create sidecar files for exported images. Any metadata are embedded in the written file (when/if possible). And anyway, “exporting” doesn’t move files around, it creates them.

yeah, I know I think I didn’t make myself clear, or misunderstood @dnlyko As I though he mentioned moving to new folder the files he exports with DT from it’s file manager (thus viewing the mess at that time). That’s why I though helpful to specify that if he had a specific export path patern in mind he could use directly the export module to enforce it.

FWIW I use windows explorer a certain amount, and my solution to ‘not see’ the xmps is actually to either: set the folder view to group by file type - separates raws, jpgs and xmps; or, at the moment I actually have dt set to not write xmps - I just use the internal database, which I back up regularly.
I’m not recommending this latter option though, as I may not have thought of all the ramifications!

Actually, as it turns out, Nikon’ s software did not corrupt the RAW file. It just added data to the file. DT is now aware of this and will address it in a future release.

Oops. Maybe I missed the point.

1 Like

This is a good setup to use for a secondary test installation of darktable. It avoids clobbering the xmp files you may have created with your main installation. @priort has written a lot about setting up secondary installations.

I do essentially the opposite with my main installation. I write xmp files “after edit” and use database=:memory: , and my backups pick up my raw, xmp, tiff and jpg files together.

1 Like

Not a dt update, but rawspeed (dt uses rawspeed) that now will work around the issues that Nikon software created.

feel free to do the pr for that :wink:

There is already a merged fix for rawspeed to work with nef files that have been altered by Nikon’s software, so no action needs to be taken for that issue.