cd /wherever/your/files/are
tar cvf /dev/whatever .
| c | Create the archive |
|---|---|
| v | Verbose (can be omitted); shows each file archived. |
| f | File: argument that follows (/dev/whatever) is
the destination for the archive. |
| . (dot) | Starting point for files to go in the archive; recursive through sub-directories. |
tar is GNU tar.
/opt/local/gnu/bin/tar or perhaps
/opt/local/bin/gtar.
gzip compression with the z
qualifier, e.g., tar zcvf /dev/nst0 .
cd /net/orangutan/export/orangutan_1/
If unsure, cd /net/your-machine-name and see what
partitions are exported from your machine.
tar, and
dd from your local machine:
tar zcBbvf 20 - . | ssh vagabond 'dd of=/dev/rmt/0ln
bs=20b'