GNU Info

Info Node: (cpio.info)Copy-in mode

(cpio.info)Copy-in mode


Next: Copy-pass mode Prev: Copy-out mode Up: Invoking `cpio'
Enter node , (file) or (file)node

Copy-in mode
============

   In copy-in mode, cpio copies files out of an archive or lists the
archive contents.  It reads the archive from the standard input.  Any
non-option command line arguments are shell globbing patterns; only
files in the archive whose names match one or more of those patterns are
copied from the archive.  Unlike in the shell, an initial `.' in a
filename does match a wildcard at the start of a pattern, and a `/' in a
filename can match wildcards.  If no patterns are given, all files are
extracted.  Note: Options.

     cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file]
     [-H format] [-M message] [-R [user][:.][group]]
     [-I [[user@]host:]archive] [-F [[user@]host:]archive]
     [--file=[[user@]host:]archive] [--make-directories]
     [--nonmatching] [--preserve-modification-time]
     [--numeric-uid-gid] [--rename] [--list] [--swap-bytes] [--swap]
     [--dot] [--unconditional] [--verbose] [--verbose-skip]
     [--block-size=blocks] [--swap-halfwords] [--io-size=bytes]
     [--pattern-file=file] [--format=format] [--owner=[user][:.][group]]
     [--no-preserve-owner] [--message=message] [--help] [--version]
     [-no-abosolute-filenames] [--sparse] [-only-verify-crc] [-quiet]
     [--rsh-command=command] [pattern...] [< archive]


automatically generated by info2www version 1.2.2.9