3.3.2 Copy a File
To copy files between the local filesystem and Exascale, you can use either the XSH cp command or the ESCLI putfile and getfile commands. However, XSH uses a more direct I/O path that provides better copy performance, making XSH the recommended option for copying large data files.
Copy a File from the Local Filesystem to Exascale
The following XSH command copies /home/my-file to @my-vault-name/my-file-copy in Exascale.
$ xsh cp /home/my-file @my-vault-name/my-file-copyThe equivalent ESCLI command is:
@> putfile /home/my-file @my-vault-name/my-file-copyCopy a File from Exascale to the Local Filesystem
The following XSH command copies @my-vault-name/my-file from Exascale to /home/my-file-copy on the local file system.
$ xsh cp @my-vault-name/my-file /home/my-file-copyThe equivalent ESCLI command is:
@> getfile @my-vault-name/my-file /home/my-file-copyParent topic: Administer Exascale Files