Now that you have seen how to access your files on different TACC systems, you may wish to move your source code and data from your local machine, or another remote machine, onto Horizon. Regardless of the size or quantity of files you must transfer, it is important to remember to limit file transfers in accordance with the Good Conduct guidelines. If you are only interested in sharing with a collaborator, see Sharing Project Files on TACC Systems.

Software Tools for Transfers
Large File Sizes or File Counts

The best practice for these situations is to use compression on the file or files to reduce the overall size of the data that needs to be transferred, and uncompress at the destination. When you are transferring a directory containing many files (even small ones), they should be collected into an archive or tar file as part of this process. If you are unfamiliar with the concepts, an elementary explanation of the tar and gzip commands is present in the Linux roadmap.

For Mac users, the tar and gzip commands are available through the Terminal application. Also, the zip utility described below works in macOS, too. You can run zip either from the Terminal command line, or by right-clicking on a folder or file collection and choosing "Compress".

Gathering and compressing files on a Windows system

Gathering files is easy in Windows with either the built-in compressed folder function, or a third-party function from the command line. Right-click on a folder and select the Send To > Compressed (zipped) folder option, which will compress the folder using a zip algorithm. If you have Cygwin or Windows Subsystem for Linux (WSL) installed, you can also do the following from the command line:

This command will create a compressed file called nmr.zip that is ready to upload. The nmr.zip file can then be decompressed on Horizon using the unzip command.

Uploading Files to Vista (or Horizon) from TACC Training
Note: While the video shows commands where Vista is the scp target, they also work with any TACC or other system accessible via SSH.
Acknowledgment: Courtesy of the Texas Advanced Computing Center
Downloading Files from Vista (or Horizon) from TACC Training
Note: While the video shows commands where Vista is the scp source, they also work with any TACC or other system accessible via SSH.
Acknowledgment: Courtesy of the Texas Advanced Computing Center
 
©  |   Cornell University    |   Center for Advanced Computing    |   Copyright Statement    |   Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)