3.3.2 Copy a File
To copy a file between the local filesystem and Exascale, use the XSH cp
command:
-
In the following example, XSH copies the local file located at
/home/my-file
into an Exascale file at@my-vault-name/my-file-copy
.$ xsh cp /home/my-file @my-vault-name/my-file-copy
-
In the following example, XSH copies the Exascale file located at
@my-vault-name/my-file
to/home/my-file-copy
on the system running XSH.@> xsh cp @my-vault-name/my-file /home/my-file-copy
You can also use the ESCLI putfile
and
getfile
commands to copy files to and from Exascale. However, the XSH cp
command supports the transfer of much larger files and provides superior transfer
performance.
Parent topic: Administer Exascale Files