When exporting to a folder, you can use a number of variables Show archive.org snapshot to determine the output folder.
Here are some examples:
Put the exported file in a subfolder in the same folder as the original image lives in
$(FILE_FOLDER)/darktable_exported/$(FILE_NAME)
Put all exported files in a folder within your user's Pictures
folder, with a subfolder named like the filmroll
$(PICTURES_FOLDER)/Darktable_exports/$(ROLL_NAME)/$(FILE_NAME)
Posted to Darktable Tricks (2021-03-31 15:21)