Copy Folder

Copies a folder's contents into another folder.

Behaviour

Risk: Low · Idempotent: No · Safe to retry: No · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.copyFolder

Properties#

Input#

Source#

Source · String · Required · Default: Not specified in package metadata

The full path of the folder to copy.

Destination#

Destination · String · Required · Default: Not specified in package metadata

The full path of the folder to copy into. It is created when it does not exist.

Recursive#

Recursive · Boolean · Optional · Default: True

Copy subfolders and their contents as well. When false, only the files directly in Source are copied.

Overwrite#

Overwrite · Boolean · Optional · Default: False

Replace destination files that already exist. When false, the first one that does fails the step.

Output#

Destination Path#

DestinationPath · String · Output

The full path of the folder the contents were copied into.

Files Copied#

FilesCopied · Int32 · Output

How many files were copied.

Retry and risk#

This activity is not marked safe to retry: if it fails partway, check whether its work already happened before running it again. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: File System. Keywords: folder, directory, copy, duplicate, backup.

Properties

Input

Output

Retry and risk

Related activities