$ cd /var/tmp
$ ssh remote-host dd if=/dev/rmt/n | tar xvBpf -
Indicates a secure shell that is started to extract the files from the tape device by using the dd command.
Indicates the input device.
Pipes the output of the dd command to the tar command, which is used to restore the files.
$ ls -l
$ cd /var/tmp $ ssh mercury dd if=/dev/rmt/0 | tar xvBpf - password: x answers/, 0 bytes, 0 tape blocks x answers/test129, 48 bytes, 1 tape blocks 20+0 records in 20+0 records out x sc.directives/, 0 bytes, 0 tape blocks x sc.directives/sc.190089, 77 bytes, 1 tape blocks x tests/, 0 bytes, 0 tape blocks x tests/test131, 84 bytes, 1 tape blocks $ ls -l