Rename File
The Rename File activity is used to rename file or directory.
Settings
Field | Description |
---|---|
Create Non-Existing Directories |
When this field is set to |
Input
The Input tab displays the following fields.
Field | Description |
---|---|
fromFileName |
The path and name of the file or directory to rename. For example, to rename a directory, specify |
toFileName | The new name and path of the file or directory.
For example, /opt/flogo/newfilename |
overwrite |
Set this field to If the specified file or directory exists and this field is set to Note: Overwrite feature is only applicable for files.
|
Output
The output schema displays the metadata fields of a new file/directory in a read-only format. The metadata object contains fullPath
, name
, size
, mode
, modTime
, and isDir
fields.
Loop
For information on Loop, see the "Using the Loop Feature in an Activity" section in the TIBCO Flogo® Extension for Visual Studio Code User Guide.