CopyTarget

The CopyTarget tool copies files reliably from a source location to the destination location while maintaining file metadata, which includes ownership and permission.
Note: The CopyTarget scripts require the NV_SDK_NAME_LINUX variable to be set on the host terminal where CopyTarget is executed:
export NV_SDK_NAME_LINUX=drive-linux

CopyTarget supports the following operations:

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

Prerequisites

  • Ubuntu 20.04
  • python3 (>= 3.5)
  • python3-yaml
  • coreutils
  • bash

These are required to run the CopyTarget tool.