ENCORE1
UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
PAGETURNER
ENCORE5
ENCORE
BOX
COMMAND
GO
cpio
SYNTAX
cpio -i [Bcdmrtuv] - (copy in) extracts
from the standard input (which normally is
redirected from an archive).
Note: If you use -d only, then directories are created
only as needed.
NOTE: Use the B option with raw/non-block
type devices only (/dev/rmt?)!
Let us look at an example using cpio.
To extract the files from the archive on the
device /dev/rfdc0 and create the directories
as needed use:
cpio -iBdv < /dev/rfdc0
Remember,
i means to copy in
B means to block 5120 blocks per record
d means to create directories as needed
v displays list of filenames (verbose)
Let us now try to use the cpio -i command.
The cpio -i command to extract all the files whose names
begin with chapter from the archive on the device
/dev/rmt0 is: (block at 5120 blocks per record)
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please use -iBv and pull the input from /dev/rmt0.
Please type cpio -iBv chapter* < /dev/rmt0
I guess I must type this for you:
$PROMPT$
FORGET1
$PROMPT$cpio -iBv chapter* < /dev/rmt0
Observe the result on the terminal!
chapter1
chapter2
chapter3
chapter4
$PROMPT$