Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Go to the directory where you want your files to be or where you want to copy from.

Type

Code Block
titleTo find the absolute path, needed to pull or push files from/to Lonestar
pwd

This gives the absolute path to your directory. It might start with "home" or "work" depending on what directory you're in.

Mac/Linux

Expand
On a local Mac or Linux machine
On a local Mac or Linux machine

Transferring files to Lonestar

On your computer's side:

Go to the directory where you want to copy files from.

Code Block
 scp stuff.fastq my_user_name@lonestar.tacc.utexas.edu:/home/.../

Replace the "/home/.../" with the "pwd" information obtained earlier.

This command would transfer "stuff.fastq" in your current directory to a specified directory on Lonestar.

Transferring files from Lonestar

On your computer's side:

Go to the directory where you want to copy files to.

Code Block
 scp my_user_name@lonestar.tacc.utexas.edu:/home/.../stuff.fastq ./

Replace the "/home/..." with the "pwd" information obtained earlier.

This command would transfer "stuff.fastq" from the specified directory on Lonestar to your current directory on your computer.

Copying Directories

Sometimes you may want to transfer more than one file.

If you wanted to transfer a directory, use the -r option like so:

Code Block
 scp -r my_folder my_user_name@lonestar.tacc.utexas.edu:/...

You can also transfer directories from Lonestar in the same manner:

Code Block
 scp -r my_user_name@lonestar.tacc.utexas.edu:/home/.../my_folder ./

Windows

Expand
On a local Windows machine
On a local Windows machine

SSH Secure File Transfer (Windows) is available as part of the SSH Secure Shell client which can be downloaded from Bevoware.

Iframe
srchttp://www.utexas.edu/learn/upload/ssh_client.html
width100%
height800
If you are seeing this message, your browser does not support iframes and you are not seeing the instructions on using SSH Secure file transfer
Iframe

...