[solved] Export preset name in exported file name

When exporting an image, is there a way to include the name of the export preset in the generated file name? I don’t see anything resembling that in the list of variables in the list of variable (darktable 4.2 user manual - variables). My questions:

  1. Am I missing something that would provide that ability?
  2. If there is nothing, is there interest in adding that ability?

I think it would be handy to store the parameters for various output destinations in presets and have the destination easily identified in the exported file name, rather than having to refer to the characteristics of the file to work back to what the intended destination was.

Lets see if I understand the question. Lets say you have a preset called Gordo. And you want the filename of the export to include that name. So, in the export path do: $(FILE_NAME)_Gordo and update the saved preset.

I use this approach but with folders (eg. Final, Web (scale for online sharing), Watermark). This way I can quickly navigate to the correct folder with the images.

1 Like

Your understanding is correct. I tried what you described and it works perfectly. I had just been imagining the “target storage” file name as being outside the preset rather than included in the preset. Thanks!