Next | Prev | Up | Top | Contents | Index

Restoring cpio Archives

To recover individual files from a cpio archive, specify the name of the file(s) on the command line:

cpio -id file1 directory/file2 < /dev/tape

The -i option causes cpio to read input from the tape drive, and the -d option causes it to create the directory it is extracting, if it doesn't already exist.


Next | Prev | Up | Top | Contents | Index