Copy Directory
Description
This Activity will copy a directory in the specified destination location.
Properties
Input
- Source Path – Specify the path of the source directory to copy.
- Destination Path - Specify the destination path to copy the directory.
Misc
- DisplayName – Add a display name to your Activity.
- Private – Logs the variable and argument values at the Verbose level when unchecked.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note
It does not catch an error if this Activity is present inside the Try-Catch block and the value of this property is True.
-
On Conflict - Specify the conflict resolution option. Conflict will occur whenever the same directory exists in the destination path. The following conflict resolution options are available.
Option Description Error In the event of a conflict, skip copying the directory to the destination path. Overwrite In the event of a conflict, overwrite the directory in the destination path. Merge In the event of a conflict, merge the source directory with the directory's contents inside the destination path.
Output
- Directory Path – Returns the copied or merged directory path.
Example
Download Example