Navigation:  Actions > Files >

Copy Files Action

Previous pageReturn to chapter overviewNext page

The Copy Files action creates a step to copy, move, delete, and synchronize files and folders.  It supports processing of subdirectories, incremental copying (copying only files that have changed since previous copy), synchronization of folders (by purging extra files from the destination folder), including and excluding files and folders via file masks, moving of files (delete after copy), configurable logging of operations, a debug mode to only display the files that would be processed, and more.

 

When built, the action finds all matching files and folders (recursively searching for matches if specified), copies any matching files (creating destination folders as necessary), deletes the source files after successfully copying if moving, and also deletes any files/folders in the destination that do not exist in the source folder if the purging.

 

When the step completes, the following temporary macros are created or updated:

COPYFILES_COPY_COUNT = The number of files that were copied
COPYFILES_DELETE_COUNT = The number of files deleted by the step
COPYFILES_SKIP_COUNT = The number of files skipped by the step

 

Copy Tab

 

Options Tab

 

Errors Tab

 

Attributes Tab

 

Robocopy Tab

 

Advanced Tab

 

Remote Tab

 

Note: See the Files and Server samples for examples of the Copy Files action.