Copy file

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

Copy files to another location. It is possible to name the copies using a regular expression.

Documentation

Copy a file from one directory to another. Missing directories will be created if possible.

Definition

Input ports

port1

datasource

Datasource of file to be copied

Output ports

port1

datasource

Datasource of copied file

Configuration:
Filename (filename)

Manually enter a filename, if not using a regular expression

Regex (use_regex)

Turn on/off naming using a regular expression

Search (pattern)

Specify the regular expression that will be used for matching

Replace (replace)

The string to replace the match found with the regular expression

Do not raise exceptions (error)

If a file operation fails, do not raise an exception

class node_file_operations.CopyFile[source]

Example flows