...
Now copy an entire directory to your Scratch area. The -r option says "recursive" recursive.
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir -p $SCRATCH/data cds cd data cp -r $CORENGS/general/ general/ |
...
Tip |
---|
The bash shell has several convenientĀ line editing features:
|
Copy from a remote computer - scp or rsync
...
rsync can be run just like before, but using the remote-host syntax. Here we use two tricks:
- The tilde ( ~ ) at the start of the path means "relative to my home Home directory"
- We use the tilde ( ~ ) in the destination to traverse the ~/scratch symbolic link created in your home directory.
Code Block | ||||
---|---|---|---|---|
| ||||
cat $CORENGS/tacc/dragonfly_access.txt rsync -avrW corengstools@dragonfly.icmb.utexas.edu:~/custom_tracks/ ~/scratch/data/custom_tracks/ |
...