Removing a File

The following file attribute instructs CopyTarget to remove the file ${TARGET_DIRECTORY}/file.txt, where ${TARGET_DIRECTORY} is the target directory provided to CopyTarget.

fileList:
    - destination: /file.txt
      remove: true