1 of 3

Moving Data

  • We have already seen that you can download data from the internet via wget (or curl)
  • The best way to move data to/from your laptop or lab computer to sphinx (or any other online server) is with secure copy

2 of 3

SCP

  • Secure copy
  • Command line interface based on SSH

Remember our previous cp command:

cp <location of what we want> <location where it should go>

cp from to

3 of 3

SCP

  • Secure copy
  • Command line interface based on SSH
  • Use a different server (set aside specifically for fasta data transfer!

From a local directory to sphinx:

scp file.txt mstaton1@sphinx.ag.utk.edu:~

From sphinx to your local directory:

scp mstaton1@sphinx.ag.utk.edu:~/file.txt .

Local file

Username on remote

Remote Machine

Remote location to place file

Username on remote

Remote Machine

Remote Location

Local Location