Skip to main content

Copying Data Between Sites

If you need to transfer data from a remote location (such as a synchrotron site), you can take advantage of the UNIX command line to do so.  In order to do this, you will need SSH access to your lab. This is not enabled by default at all research sites. If you need SSH access, please submit a ticket to help@sbgrid.org. The recommended way that you transfer your data is by using the rsync command.

EXAMPLE

rsync -av /path/to/folder remote-host:/path/to/data/folder

This example shows how to copy a whole folder from your local computer, to the remote computer. The local and remote filepaths may be reversed in order to copy a file from a remote host to your local computer.

If you are uncomfortable using the command line for moving files, you can also do so with a desktop SFTP (SSH File Transfer Protocol) Application. For OS X, a recommended SFTP client is Cyberduck (http://cyberduck.ch/). For Windows, you can download WinSCP (http://winscp.net/eng/index.php). Both applications are free.

 

Like with rsync, You will need SSH access enabled. To connect to your lab, just enter your server's fully qualified domain name (i.e. lab.university.edu) in the server field and use your network account username and password to log in.