DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Mass storage devices overview

Copying files from tape to hard disk

If the data on the tape is in cpio format, you can use cpio(1) to copy from tape to hard disk.

  1. Enter

    cd dirname

    where dirname is the path to the directory into which you want to copy the files (such as /var/tmp).

  2. Enter

    cpio -iudvB -I special_file

    where special_file is the path to the tape (character) device (such as /dev/rmt/c0s0 or ctape1).

If the data on the tape is in tar format, you can use tar(1) to copy from tape to hard disk.

  1. Enter

    cd dirname

    where dirname is the path to the directory into which you want to copy the files (such as /var/tmp).

  2. Enter

    tar -xvf < special_file

    where special_file is the path to the tape (character) device (such as /dev/rmt/c0s0 or ctape1).


Previous topic: Copying directory contents from hard disk to tape

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004