Creates an archive or restores files from an archive
cpio -o [options]
cpio -i [options] [patterns]
cpio -p [options] directory
The cpio utility has three modes of operation. It allows you to place multiple files into a single archive file (create or copy-out), restore files from an archive (extract or copy-in), and copy a directory hierarchy to another location (pass-through or copy-pass). The archive file used by cpio may be saved on disk, tape, other removable media, or a remote system.
Create mode reads a list of ordinary or directory filenames from standard input and writes the resulting archive file to standard output. Use this mode to create an archive. Extract mode reads the name of an archive from standard input and extracts files ...