Copy file archives from or to tape or disk, or to another location on the local machine. Each of the three modes -i, -o, or -p accepts different options.
Copy in (extract) from an archive files whose names match selected patterns. Each pattern can include Bourne shell filename metacharacters. (Patterns should be quoted or escaped so that they are interpreted by cpio, not by the shell.) If pattern is omitted, all files are copied in. Existing files are not overwritten by older versions from the archive unless -u is specified.
Copy out to an archive a list of files whose names are given on the standard input.
Copy (pass) files to another directory on the same system. Destination pathnames are interpreted relative to the named directory.
Single-character options available to the -i, -o, and -p modes are shown here (the - is omitted for clarity):
i: bcdf mnrtsuv B SVCEHMR IF
o: 0a c vABL VC HM O F
p: 0a d lm uv L V R
Expect list of filenames to be terminated with null, not newline. This allows files with a newline in their names to be included.
Reset access times of input files after reading them.
Append files to an existing archive, which must be a disk file. Specify this archive with -O or -F.
Swap bytes and half-words to convert between big-endian and little-endian 32-bit ...