Skip to content

File: rename

Plugin ID: eca_file_rename

Available since: 2.1.0

Rename the physical file of a file entity.

Fields

New file name — config key: new_filename

The new file name without schema or path, but with the file extension.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Behavior — config key: exists_behavior

The behavior when dealing with existing files.
When using the "Defined by token" option, make sure there is a token with this name: eca_file_rename_exists_behavior

Type: select · Required: yes · Default: Replace

Allowed values: Rename, Replace, Error, _eca_token

Entity — config key: object

Provide the token name of the entity that this action should operate with. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string