Copy files

../../../../_images/copy.svg

Copy multiple files from one directory to another. Missing directories will be created if possible.

Input ports:
port1:

[datasource]

Files to be copied

Output ports:
port1:

[datasource]

Copied files

Configuration:
filename
Manually enter a directory
use_regex
Turn on/off naming using a regular expression
pattern
Specify the regular expression that will be used for matching
replace
The string to replace the match found with the regular expression
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.CopyFiles[source]