Rename Files

../../../../_images/rename.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.RenameFiles[source]

Rename multiple files using filenames.

Inputs:
port1 : [datasource]

Files to rename

Outputs:
port1 : [datasource]

Paths to renamed files

Configuration:
Filename

Manually enter a filename, if not using a regular expression

RegEx

Turn on/off naming using a regular expression

RegEx pattern

Specify the regular expression that will be used for matching

Replacement string

The string to replace the match found with the regular expression

Do not raise exceptions

If a file operation fails, do not raise an exception