-
-
Notifications
You must be signed in to change notification settings - Fork 616
os.remove
starkos edited this page Apr 10, 2021
·
5 revisions
This wiki is no longer being maintained.
Remove files from the file system.
os.remove("path", ...)
path
is the file system path to be removed. Wildcard matches are supported, see os.matchfiles for examples.
True if successful, otherwise nil and an error message.
Premake 5.0 or later.
local ok, err = os.remove{"**.bak", "**.log"}
if not ok then
error(err)
end