forked from darktable-org/lua-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
file_copy
deekayhd edited this page Mar 29, 2026
·
1 revision
file_copy
copy a file to another name/location
local df = require "lib/dtutils.file"
local result = df.file_copy(fromFile, toFile)fromFile - string - name of file to copy from
toFile - string - name of file to copy to
copy a file using a succession of methods from operating system to a pure lua solution
result - boolean - nil on error, true on success