Skip to main content

Copy File Action

Copy File Action copies the specified file (or files) to a destination directory. It supports handling existing files by either skipping or overwriting them, and stores the paths of the copied files in a variable for further use.

Appearance

In Talos, Copy File Action appears as a standard rectangular node with a copy icon.

Copy File Icon

Properties

As all Actions, Copy File Action has a few unique properties that are essential for its functionality.

Common properties

Common properties inherited from Action.

Display NameString
This is the display name of the action.

By customizing this property, you can differentiate between same type of actions.

Action IDString
Indicates the unique ID of this action.

This property is Read only and it is not customizable

DisabledBoolean
If set to true, this action is considered disabled and will not be executed.
File(s) to copyExpression
The file(s) to be copied.

See more about Talos Scripting language & Expressions

tip

This property supports expressions. You can use variable references to dynamically resolve the file path(s) at runtime.

Examples

Assuming a declared String variable with name srcPath and a List variable fileList.

${srcPath}
${fileList}
"C:/Documents/report.pdf"
Destination pathPath
Where to copy the file(s) to.
OverwriteEnum
If a file with the same name exists, should it be overwritten?

Available options: Do nothing, Overwrite

Copied Files VariableVariable
Variable to hold the path(s) of the copied file(s).