[darktable-user] How to set export file name preference
I use to export my images to jpg with a standardized file name: $(FILE_NAME:4)-???_$(EXIF_YEAR)-$(DESCRIPTION) The "???" is a placeholder for a part of the path, which I type in for the time being, but which I want to find an automized way to replace, too. One after the other. How can I set the preference from the default "$(FILE_NAME)" to my user defined string? I couldn‘t find a way, so I thought about some lua script. Lua seems to be somewhat simple, but I find the lua API not so easy to look through. Anyhow I find "events.intermediate-export-image.callback" promising to intercept and change the filename, but how do I proceed? My skills are on the scale of pre-beginners for now. I haven’t got further than scanning through existing lua scripts to catch a glimpse of what to do, but I‘m confident in raising my learning curve soon. Please set me on the track. Volker darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] How to set export file name preference
Hi and Happy Easter to all of you. I want to thank thokster for his very good advice (in a personal conversation) that helped to clear my brains. Now that I reorganize my photo filing system I can easily use $(FILE_FOLDER) to get what I want. It's my lot to think in a too complicated way. Volker Am 09.04.20 um 20:30 schrieb Volker Lenhardt: I use to export my images to jpg with a standardized file name: $(FILE_NAME:4)-???_$(EXIF_YEAR)-$(DESCRIPTION) The "???" is a placeholder for a part of the path, which I type in for the time being, but which I want to find an automized way to replace, too. One after the other. How can I set the preference from the default "$(FILE_NAME)" to my user defined string? I couldn‘t find a way, so I thought about some lua script. Lua seems to be somewhat simple, but I find the lua API not so easy to look through. Anyhow I find "events.intermediate-export-image.callback" promising to intercept and change the filename, but how do I proceed? My skills are on the scale of pre-beginners for now. I haven’t got further than scanning through existing lua scripts to catch a glimpse of what to do, but I‘m confident in raising my learning curve soon. Please set me on the track. Volker darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org