Am Mittwoch, 30. März 2016, 08:05:55 schrieb J Albrecht: > Hello Tobias, > Thanks for the script! It has inspired me to load it onto my program. Alas, > I’ve never included new lua scripts to Darktable. For those like me who > have no idea how to do this, could you please provide a primer? > > Actually, having looked at the READMEs, it’s fairly clear. My issue is more > of not knowing where the necessary directories on MAC OS reside, even after > opening the app (“Show Package Contents”). Can you please provide > assistance in this regard? Thanks!
First a disclaimer: I have never used OSX and all I can give are educated guesses. So proceed with care. However, I am quite sure it should work like this: The darktable configuration is in ~/.config/darktable/, that is, in your home directory in a hidden folder. We had people struggling to find it since Finder hides it. In there, create a file called "luarc" and a folder called "lua". Put the Lua scripts into that folder and put a line like require "copy_paste_metadata" into luarc. Note that it's the filename without the leading lua/ and without the .lua extension. So if you create subfolders there you have to add them. Alternatively you can check out the whole git repo and update that every now and then to get updates to the scripts: cd ~/.config/darktable/ git clone https://github.com/darktable-org/lua-scripts.git lua echo 'require "official/copy_paste_metadata"' >> luarc Whenever you want to update the scripts just do cd ~/.config/darktable/lua/ git pull Tobias > > On 29 Mar 2016, at 14:15, Tobias Ellinghaus <m...@houz.org> wrote: > > > > Am Montag, 28. März 2016, 00:44:37 schrieb Tobias Ellinghaus: > > > > > > Sorry, it took a little longer than expected, but there is now a script > > [0] in our Lua script repo [1] that allows copy&paste of the metadata. If > > all you want are tags you might use another one we already had [2]. > > > >>> Regards > >>> Karsten > >> > >> Tobias > >> > >> [...] > > > > [0] > > https://raw.githubusercontent.com/darktable-org/lua-scripts/master/offici > > al/copy_paste_metadata.lua [1] > > https://github.com/darktable-org/lua-scripts > > [2] > > https://raw.githubusercontent.com/darktable-org/lua-scripts/master/contri > > b/copy_attach_detach_tags.lua
signature.asc
Description: This is a digitally signed message part.