Some Computer Hints

HP-UX Others

To copy all files from /source directory to /dest directory use the following commands:

$ cd /source
$ find . -depth -xdev | cpio -paduxvlm /dest

To copy files to a remote system called dest_sys, use this:

$ cd /source
$ (find . -depth -xdev | cpio -coax) | remsh dest_sys "cd /dest; cpio -icdmula"

You can use ssh instead of remsh.

To use compression while copying a large file to another system:

$ gzip -vc file | remsh dest_sys "gunzip - >/dest_dir/file"

Use the

$ mt offl

command to unload a tape from drive /dev/rmt/0m. There is no reverse command for this!