Can I save import session options in darktable?

Apologies if the answer to this question is self-evident. I’m using a custom set of session options for import in dt 3.6, that have met all my needs - until yesterday when I was doing a favour for a house-guest. Today I realised I had to rebuild those options from start - not a big job, taking only about 15 minutes to make it work to requirements. But it would have been most helpful if I could have saved/restored those options from a file. Is there any way to do this or make a suitable preset in dt? The manual doesn’t given any hint.

What I would like to do is to have multiple versions of these session options so that I can easily switch to my imports into different folder/different naming conventions. I hope that makes sense.

Do you mean these options its not quite clear…

Beg pardon, yes, those options - except that I am typing them in the import dialog, which seems to update these ‘system settings’ automatically.

Ah, now I see I have to expand my original question a little - so I’ll go back and edit it.

I think you can have a preset for the parameters in the import section however the actions around naming and renaming are in the preferences…
image

These settings are in the .config/darktablerc
So simply create a copy of it you can use to restore settings on demand

Hmm, this doesn’t seem to do what I would like to do.

For example, it would be great if there was a drop-down box for each of the ‘naming pattern’ fields in the import dialog, which showed the history of previous settings.

So you would like some presets here??

If I remember correctly there’s a feature request arguing FOR adding import presets…

I’d like to add that I think we can make naming patterns do some variables completion. I remember it works in settings, does it work in import dialog or does it need to be enhnanced?

Yes, that was exactly where I thought to myself that presets would be very valuable, especially as I am quite slow in building a correctly formatted string for the patterns (and the feedback resulting from attempting to use syntactically invalid strings is limited: just failure to import any images is what I I experience)