CPIO(1) General Commands Manual CPIO(1) (NAME) cpio - (SYNOPSIS) cpio -i [options] [pattern ...] [< archive] cpio -o [options] < name-list [> archive] cpio -p [options] dest-dir < name-list (DESCRIPTION) cpio . tar pax cpio zip jar ar cdrom ISO 9660 tar pax cpio ar shar . cpio : -i . ( ) ( -t ) . . -o . ( ) . -p . . (OPTIONS) . -0, --null NUL . . -6, --pwb PWB UNIX . cpio PWB . -7, --binary ( o) cpio ( PWB) . -A ( o) . ( .) -a ( o p) . -B ( o) . -C size ( o) size . -c ( o) POSIX. --format odc. -d, --make-directories ( i p) . -E file ( i) file . -F file, --file file file. -f pattern ( i) pattern . -H format, --format format ( o) . : cpio odc. newc cpio SVR4. odc POSIX.1 cpio. pax pax POSIX.1 ustar. ustar tar POSIX.1. odc . libarchive(3) libarchive-formats(5) . -h, --help . -I file file. -i, --extract . . --insecure ( i p) . `..' . -J, --xz ( o) xz . xz . -j -y. -L ( o p) . . . -l, --link ( p) . --lrzip ( o) lrzip(1). . --lz4 ( o) lz4 . lz4 . --zstd ( o) zstd . zstd . --lzma ( o) lzma . lzma . --lzop ( o) lzop(1). . --passphrase passphrase passphrase . zip cpio . . -m, --preserve-modification-time ( i p) . -n, --numeric-uid-gid ( i -t) uid gid. cpio . --no-preserve-owner ( i) . (non-root) . -O file file. -o, --create . . -p, --pass-through . . --preserve-owner ( i) . (root) . --quiet . -R [user][:][group], --owner [user][:][group] / . ( -R :wheel) . ( -R root:) . . -i -p - (super- user) . ( .) -r ( .) . /dev/tty /dev/tty . . . . -t, --list ( i) stdout . -u, --unconditional ( i p) . . -V, --dot stderr . -v . -v, --verbose stderr . -t - . --version . -y ( o) bzip2 . bzip2 . -Z ( o) compress . . -z ( o) gzip . gzip . (EXIT STATUS) The cpio utility exits 0 on success, and >0 if an error occurs. (ENVIRONMENT) cpio : LANG (locale) . environ(7) . TZ . environ(7) . (EXAMPLES) cpio find(1) . src dest : find src | cpio -pmud dest find(1) . src dest : find src -mtime +2 | grep foo[bar] | cpio -pdmu dest src dest "foobar" : find src -mtime +2 | xargs grep -l foobar | cpio -pdmu dest (COMPATIBILITY) i o p a B c d f l m r t u v SUSv2 . POSIX.1 -i - -o -p . . -imu -miu -i -m -u m u -i . (backwards-compatible) . . (SEE ALSO) bzip2(1), gzip(1), mt(1), pax(1), tar(1), libarchive(3), cpio(5), libarchive-formats(5), tar(5) (STANDARDS) POSIX cpio ISO/IEC 9945-1:1996 ("POSIX.1") IEEE Std 1003.1-2001 ("POSIX.1") . cpio ustar pax IEEE Std 1003.1-2001 ("POSIX.1") pax . (HISTORY) cpio find (Dick Haight) AT&T . PWB/UNIX 1.0 "Programmer's Work Bench" AT&T . AT&T System III Unix . cpio tar AT&T . libarchive(3) . (BUGS) cpio : . . cpio . cpio "odc" . Linux 6.12.107+deb13-amd64 September 16, 2014 Linux 6.12.107+deb13-amd64