Table of Contents

Hx_FileCopy

Copies files from sources into destinations.

Files

Required: true

Files to copy. Metadata: 'WithSubDirsFrom' - if defined, copies a file into sub folders starting from the end of the defined root path. It is used to keep folders hierarchy. Example: Files: 'C:\Files\SubDir1\SubDir2\SubDir3\file.txt' WithSubDirsFrom: 'C:\Files\SubDir1' DestinationDirs: 'D:\Destination' CopiedFiles: file is copied into the 'D:\Destination\SubDir2\SubDir3\file.txt'.

DestinationDirs

Required: true

Destination directories to copy files to. If number of destinations equals to number of files, then files are copied into those directories. If destination is a single directory, then files are copied into that directory.

Overwrite

Determines whether to overwrite destination file or ignore.

CopiedFiles

A list of successfully copied files [Output].