
These commands must be run from your local computer. You can alsouse scp to securely copy files from your computer to a secure shell (SSH) and back as follows: Rsync -avh localsourcefile transfer files from Pegasus to your computer: From the command line on your computer, use the following commands to transfer files from your computer to Pegasus: It has the advantage of being able to resume fails. Rsync can transfer files between your computer and Pegasus. Transferring files from your computer to Pegasus For copying folders, do not include the slash folder/ or it will only copy the contents of the folder over, not the folder itself. When you use the -a option, rsync will automatically do recursive, copy symlinks, preserve permissions, preserve time stamps, preserve group ownerships and preserve owner. A good option to use is -avh which will apply the archive, verbose, and human-readable options to your copy.

The general format for rsync commands is rsync source destination.

Although you can use the mv or cp commands to move files on the cluster, using rsync is more secure and will give you more flexibility.

You can also transfer files to the high speed lustre file system to run jobs, but be careful because data on lustre is not backed up, and is purged at the beginning of each month. You can see what groups you are a part of when you log in to Pegasus. While logged in to Pegasus, you may want to move files from your home directory (where you are automatically when you log into the cluster) to a group directory. HPC File Transfer Transferring files between directories on the Cluster
