Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

145 lines (144 sloc) 3.707 kB
." DO NOT MODIFY THIS FILE! It was generated by help2man
.TH CPIO 1 "June 1999" "cpio (Free paxutils) 2.4i" "FSF"
cpio \- manual page for cpio (Free paxutils) 2.4i
.B cpio
[\fIOPTION\fR]... [\fIEXTRA\fR]...
Mandatory or optional arguments to long options are mandatory or optional
for short options too.
.SS "Main operation mode:"
\fB\-o\fR, \fB\-\-create\fR
create a new archive (copy-out) archive on stdout unless specified list of filenames on stdin
\fB\-i\fR, \fB\-\-extract\fR
extract files from an archive (copy-in) archive on stdin unless specified EXTRA argumentss are list of patterns to match
\fB\-p\fR, \fB\-\-pass\-through\fR
copy files (copy-pass) list of filenames on stdin EXTRA argument is destination directory
.SS "Other options:"
\fB\-0\fR, \fB\-\-null\fR
read null-terminated names
\fB\-a\fR, \fB\-\-reset\-access\-time\fR
reset access time after reading file
\fB\-A\fR, \fB\-\-append\fR
append to existing archive (copy-out)
\fB\-b\fR, \fB\-\-swap\fR
swap both words and bytes of data
set block size to 5120 bytes
set block size to 512 * SIZE bytes
use old portable (ASCII) format
SIZE, \fB\-\-io\-size\fR=\fISIZE\fR set block size to SIZE bytes
\fB\-d\fR, \fB\-\-make\-directories\fR
make directories as needed
FILE, \fB\-\-pattern\-file\fR=\fIFILE\fR read filename patterns from FILE
\fB\-f\fR, \fB\-\-nonmatching\fR
only copy files that do not match a pattern
FILE, \fB\-\-file\fR=\fIFILE\fR use FILE for archive
archive file is local even if has a colon
FORMAT, \fB\-\-format\fR=\fIFORMAT\fR use archive format FORMAT
print this help and exit
FILE use FILE as input archive (copy-in)
\fB\-l\fR, \fB\-\-link\fR
link files instead of copying
\fB\-L\fR, \fB\-\-dereference\fR
don't dump symlinks; dump the files they point to
\fB\-m\fR, \fB\-\-preserve\-modification\-time\fR
retain modification time when creating files
MESSAGE, \fB\-\-message\fR=\fIMESSAGE\fR print message when end of volume reached
\fB\-n\fR, \fB\-\-numeric\-uid\-gid\fR
show numeric uid and gid
create all files relative to cwd (copy-in)
do not change ownership of files
FILE use FILE as output archive (copy-out)
verify CRCs but do not extract (copy-out)
\fB\-\-quiet\fR, \fB\-\-silent\fR
do not print number of blocks copied
\fB\-r\fR, \fB\-\-rename\fR
interactively rename files
[USER][:.][GROUP], \fB\-\-owner\fR=\fI[USER][\fR:.][GROUP] set ownership of new files to USER, GROUP
\fB\-s\fR, \fB\-\-swap\-bytes\fR
swap bytes of each halfword in files (copy-in)
\fB\-S\fR, \fB\-\-swap\-halfwords\fR
swap halfwords of each word in files (copy-in)
write sparse files (copy-in, copy-pass)
\fB\-t\fR, \fB\-\-list\fR
print table of contents of input
\fB\-u\fR, \fB\-\-unconditional\fR
replace all files, even if older
\fB\-v\fR, \fB\-\-verbose\fR
list files processed
\fB\-V\fR, \fB\-\-dot\fR
print a `.' for each file processed
print version information and exit
Report bugs to <>
The full documentation for
.B cpio
is maintained as a Texinfo manual. If the
.B info
.B cpio
programs are properly installed at your site, the command
.B info cpio
should give you access to the complete manual.
Jump to Line
Something went wrong with that request. Please try again.