Versions Compared

Key

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

...

Copy a single file to your $SCRATCH/data/test1 directory from the server named gapdhdragonfly.icmb.utexas.edu, using the user account corengstools. When prompted for a password, use the one we have written on to the board Zoom chat (or copy/paste the password from this file: $CORENGS/tacc/gapdhdragonfly_access.txt)

Code Block
titlesingle remote file copy with scp
mkdir -p $SCRATCH/data/test1
cds
cat $CORENGS/tacc/gapdhdragonfly_access.txt
scp corengstools@gapdhcorengstools@dragonfly.icmb.utexas.edu:~/custom_tracks/progeria_ctcf.vcf.gz ./data/test1/
ls ./data/test1

...

  • The tilde ( ~ ) at the start of the path means "relative to my home directory"
  • We traverse through the BioITeam symbolic link created in your home directory earlier.We use the same tilde ( ~ ) in the destination to traverse the scratch symbolic link in your home directory.

...

  • .

Code Block
languagebash
titlersync (remote directory)
rsync -ptlrvPavWP corengstools@gapdhcorengstools@dragonfly.icmb.utexas.edu:~/custom_tracks/ ~/scratch/data/custom_tracks/

...

Expand
titleAnswer

No, because all the source files were already present in the destination directory (you copied the same files earlier) with the same timestamps and file checksums. So rsync had nothing to do!

...