forked from darktable-org/lua-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
file_move
deekayhd edited this page Mar 29, 2026
·
1 revision
file_move
move a file from one directory to another
local df = require "lib/dtutils.file"
local result = df.file_move(fromFile, toFile)fromFile - string - name of the original file
toFile - string - the new file location and name
Move a file from one place to another. Try a succession of methods from builtin to operating system to a pure lua solution.
result - boolean - nil on error, some value on success