Delete file

../../../../_images/delete.svg

These nodes are for common file operations: copy, delete, rename, and remove. For many operations it is possible to use regular expressions to create new filenames, etc.

class node_file_operations.DeleteFile[source]

Deletes one file.

Inputs:
port1 : datasource

File to delete

Outputs:
port1 : datasource

Path to deleted file

Configuration:
Delete enclosing folder if empty

If a file that is removed is the last in that folder, the folder is removed. If this operation fails, no exception is raised.

Do not raise exceptions

If a file operation fails, do not raise an exception