@paperdigits Thanks for replying, but I’m afraid I don’t see that check box on darktable 2.4.4 for Mac. There’s only a selector for what the export module should do ‘on conflict’ (i.e. if a file with the same name already exists); and the options are ‘create unique filename’ or ‘overwrite’.
When you select several files to export, $(SEQUENCE) appends a number to each filename sequentially, starting at 0001. If you later select several more files from the folder you’re working in, and export them with the same template, the export module starts that new sequence at 0001 again. It seems to start every new export action with a sequence starting 0001. Setting the ‘on conflict’ option to ‘Create unique filename’ justs adds a second numeric suffix to the end of any filename that already exists, rather than counting on from what’s already in the target folder.
Of course, the export module can’t know which file already in the target folder has the last number in an a previously-saved sequence. But I would like some way of telling export what number to start from. I rather hoped I might be able to do this by adding something to the template to specifiy where to start the next sequence.