sftp
& scp
sftp
To connect to the Cluster to get/put files from your local directory (your computer):
ctrl t
sftp __@agri.cse.ucdavis.edu
where __ is your username for the servercd _/_
change directory to whichever location on CLUSTER that has these filesls *pdf
can list the files of interest to make sure it’s what you want/existslcd _/_
change directory locally (your computer)lls
local list the files in current local directoryget
files from CLUSTER to local directory (your computer)
get *pdf
download all pdf files from Cluster to your computerput
files from local directory to CLUSTER
put *bamlist
copy files from local directory to CLUSTERscp
Similarly, you can use scp
to copy files to and from the cluster. The different here is we explicitly say where the file is and where we want to put it, vs. with sftp
we can copy a whole series of files.
The structure of scp
is as follows:
scp -P 2022 FILENAME YOURKERBEROSNAME@agri.cse.ucdavis.edu:/username/COMPLETEPATH/