Skip to content

HTTPS clone URL

Subversion checkout URL

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