I've found several examples to register a new storage method using Lua
[1,2]. Is there instead a way to modify an existing one? What I'd
like to do is use the standard "file on disk" output option, but I
want to modify the output path. I use something like this right now:
$(FILE_FOLDER)/$(FILE_NAME)_$(VERSION)_DT
Where $(FILE_FOLDER) could be ~/Pictures_Dev/some/sub/directory. I'd
like to replace it to output instead to ~/Pictures/some/sub/directory.
Basically I'll have my RAW and xmp files in the Pictures_Dev directory
and all of the outputs in my Pictures directory, with the same folder
structure. I know the export path can use $(PICTURES_FOLDER) for
output, but then I'd lose the sub directory tree that I'd like to
maintain. So ideally I could do something like
$(FILE_FOLDER).replace("/Pictures_Dev/", "/Pictures/").
Or is there a way to use Lua to create a new "filename template" [3]?
I could probably re-create a "file on disk 2" method, but it seems
like wasted work when all I want to do is change the output directory.
[1]: http://www.darktable.org/2013/09/using-lua-with-darktable/
[2]: https://www.darktable.org/usermanual/ch09.html.php#lua_storage_example
[3]: https://www.darktable.org/usermanual/ch02s03s12.html.php
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]