Skip to content

delete

Delete files (or graph objects).

delete(filename)

Deletes the named file(s) from the filesystem. Wildcards supported. Operation is permanent — files are not moved to a trash / recycle bin.

Also doubles as a handle-deletion function: delete(h) for a graph handle removes that object from its chart. The interpreter dispatches based on argument type (string vs handle).

delete('temp.csv')
delete('cache/*.tmp')
  • copyfile — Copy a file to a new location.
  • movefile — Move (rename) a file or directory.
  • rmdir — Remove a directory.