System Administration Guide, Volume 1

Example--Retrieving Specified Files From a Tape (cpio)

The following example retrieves all files with the suffix chapter from the tape in drive 0.


$ cd /home/smith/Book
$ cpio -icv "*chapter" < /dev/rmt/0
Boot.chapter 
Directory.chapter 
Install.chapter 
Intro.chapter
31 blocks
$ ls -l

See cpio(1) for more information.