Delete files

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

Auto generated list version of Delete file.

In this version, the following ports from the original nodes have been changed to lists which the node loops over:

Looped Inputs:port1.
Looped Outputs:port1.

For details see the original node.

Input ports:
port1:

[datasource]

File to delete

Output ports:
port1:

[datasource]

Path to deleted file

Configuration:
Delete enclosing folder if empty (delete_folder)
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 (error)
If a file operation fails, do not raise an exception

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.DeleteFiles[source]

Example flows