Hi,
I'm having a problem to import images in directories using links on ubuntu.
Scenario:
-----------------------------------------------------------
1. create directory and the link
cd /tmp
mkdir dir
ln -s dir dir_link
-----------------------------------------------------------
2. copy some images to directory
cp img1.jpg img2.jpg img3.jpg /tmp/dir
-----------------------------------------------------------
3. edit the luarc
dt = require "darktable"
dt_debug = require "darktable.debug"
local function jexport_store(storage, image, format, filename, num, total,
high_quality, extra_data)
local basename = image['path'] .. "/" .. image['filename'] .. "new.jpg"
os.execute("cp \"" .. filename .. "\" \"" .. basename .. "\"")
dt.database.import(basename)
end
dt.register_storage("jexport","jexport", jexport_store, nill)
-----------------------------------------------------------
4. open darktable and import the link "/tmp/dir_link"
-----------------------------------------------------------
5. export some image with de "jexport" (this will not work). the darktable
will create a new film roll with the original directory (dir) with the new
images
Thanks in advance.
--
Jefferson Ferreira
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]