Rename Files

../../../../_images/rename.svg

Rename file in the current directory

Warning

This node is deprecated and will be removed in version 1.7.0. Please use Move files and possibly Rename datasource with Regex instead.

Documentation

Auto generated list version of Rename 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.

Definition

Input ports:
port1

[datasource]

File to rename

Output ports:
port1

[datasource]

Path to renamed 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.RenameFiles[source]