MPE/iX Shell and Utilities Reference Manual, Vol 1

cpio(1) MPE/iX Shell and Utilities cpio(1)
–S for portability reasons, swaps pairs of 16-bit words within longwords only when
extracting files. This option does not affect the headers.
–s for portability reasons, swaps pairs of bytes within each 16-bit word only when
extracting files. –s does not affect the headers.
–t prevents files extraction, producing instead a table of file names contained in the
archive. See the description of the –v option.
–u copies an archive file to a target file even if the target is newer than the archive. Nor-
mally, cpio does not copy the file.
–V volpat
provides automatic multi-volume support. cpio writes output to files, the names of
which are formatted using volpat. The current volume number replaces any occur-
rence of # in volpat. When you invoke cpio with this option, it asks for the first
number in the archive set, and waits for you to type the number and a carriage return
before its precedes with the operation. cpio issues the same sort of message when a
write error or read error occurs on the archive; the reasoning is that this kind of error
means that cpio has reached the end of the volume and should go on to a new one.
–v provides more verbose information than usual. cpio prints the names of files as it
extracts them from or adds them to archives. When you specify both –v and –t,
cpio prints a table of files in a format similar to that produced by the ls –l com-
mand.
–y when used with –V, does not ask for a volume number to begin with, but does ask if
it gets a read or write error.
–z performs Lempel-Ziv compression. Output is always a 16-bit compression. On
input, any compression up to 16-bit is acceptable. This option should be equivalent
to the following pipelines:
cpio –ocvz <---> cpio –ocv | compress –b 16
cpio –icvz <---> uncompress | cpio –icv
–6 is supposed to understand 6th edition
UNIX cpio archives, but is not currently imple-
mented nor deemed necessary.
The byte and word swapping done by the –b, –S, and –s options is effective only for the file
data written. With or without the –c option, header information is always written in a
machine-invariant format.
Commands and Utilities 1-135