...
- wget – retrieves the contents of an Internet URL
- cp – copies directories or files located on any local file system
- scp – copies directories or files to/from a remote system
- rsync – copies directories or files on either local or remote systems
(Read more at about Copying files and directories)
...
Well, you don't have a desktop at TACC to "Save as" to, so what to do with a link? The wget program knows how to access web URLs such as http, https and ftp.
Anchor
...
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir -p $SCRATCH/data/test1 cp $CORENGS/misc/small.fq $SCRATCH/data/test1/ ls $SCRATCH/data/test1 # or.. cds mkdir -p data/test1 cd data/test1 cp $CORENGS/misc/small.fq . # or.. mkdir -p ~/scratch/data/test1 # use the symbolic link in your Home directory cd ~/scratch/data/test1 cp $CORENGS/misc/small.fq . ls |
Notice the different ways of referring to a directory (Read more about using Absolute or Relative pathname syntax.)
Now copy an entire directory to your Scratch area. The -r option says recursive.
...
Tip |
---|
The bash shell has several convenient line editing features:
See (Read more about Command line history and editing) |
Copy from a remote computer - scp or rsync
...