cpio
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access