The CopyTarget tool copies files reliably from a source location to the destination location while maintaining file metadata, which includes ownership and permission.

CopyTarget supports the following operations:

  • Copy file
  • Create directory
  • Update file metadata
  • Update directory metadata
  • Remove file
  • Remove empty directory
  • Create symlink


  • Ubuntu 18.04 x86_64 host
  • python3 (>= 3.5)
  • python3-yaml
  • coreutils
  • bash

These are required to run the CopyTarget tool.