forked from darktable-org/lua-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
get_basename
deekayhd edited this page Mar 29, 2026
·
1 revision
get_basename
get the filename without the path or extension
local df = require "lib/dtutils.file"
local result = df.get_basename(filepath)filepath - string - path and filename
get_basename returns the name of the file without the path or filetype.
result - string - the basename of the file