AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
CPIO ( 1) CPIO ( 1) cpio -oc 0128 > /dev/rfp021 will begin the output at block number 128. t Print a table of contents of the input. No files are created. T Provides a specific buffer size for the cpio operation. The size of the buffer, in kilobytes ( lKB = 1024B ), follows the T. For example, cpio -ict T64 < /devjrfp021 uses a 64KB buffer while it reads the filenames from the cpio set. Note that if no buffer size is specified, 64KB buffers are used. u Copy unconditionally (normally, an older file will not replace a newer file with the same name). v Verbose : causes a list of file names to be printed. When used with the t option, the table of contents looks like the output of an Is -1 command (see ls (1)). x Halt the cpio operation as soon as one filename in the pattern list is restored (otherwise the entire cpio set is read). This option is used only with the -i option. m Whenever possible, link files rather than copying them. Usable only with the -p option. Retain previous file modification time. This option is ineffective on directories that are being copied. r Copy in all files except those in patterns. s Swap bytes. Use only with the -i option. S Swap halfwords. Use only with the -i option. b Swap both bytes and halfwords. Use only with the -i option. 6 Process an old (i.e., UNIX Sixth Edition format) file. Only useful with -i (copy in). EXAMPLES The first example below copies the contents of a directory into an archive; the second duplicates a directory hierarchy: Is I cpio -o > /dev /rfp021 cd olddir find • -depth -print I cpio -pdl newdir The trivial case "find • -depth -print I > /dev /rfp021" can be handled more efficiently by: find . -cpio jdev /rfp021 SEE ALSO ar(1), find(1), cpio(4). cpio -oB BUGS Path names are restricted to 128 characters. If there are too many unique linked files, the program runs out of memory to keep - 2-
CPIO ( 1) CPIO ( 1) track of them and, thereafter, linking information is lost. Only the super-user can copy special files. - 3 -
- Page 196 and 197: f) .. .... ._ __ . ·
- Page 198 and 199: I� �� I J
- Page 200 and 201: BC(l) BC (l) l(x) log a(x) arctange
- Page 203 and 204: BDIFF(l) BDIFF ( 1 ) NAME bdiff - b
- Page 205 and 206: BFS (I) BFS(I) NAME bfs - big file
- Page 207 and 208: BFS (l) BFS (l) could be used to ma
- Page 209: CAL ( 1) CAL(l) NAME cal - print ca
- Page 212 and 213: ' ..
- Page 215 and 216: ;� CC ( l ) cc (1) NAME cc - C co
- Page 217: CC(l) /lib/crts.o /lib/mcrto.o /lib
- Page 221 and 222: CDC ( 1 ) CDC { 1) NAME cdc - chang
- Page 223: CDC (l) CDC (l) SEE ALSO admin( l),
- Page 226 and 227: CFLOW ( 1) CFLOW ( 1) produces the
- Page 228 and 229: CFONT(l) (AT&T UNIX PC only ) CFONT
- Page 231: CHOWN (l) CHOWN ( 1) NAME chown, ch
- Page 234 and 235: .'�
- Page 236 and 237: I I I I I I I I I I I I I I I I I I
- Page 238 and 239: COL(l) COL(l) BUGS Cannot back up m
- Page 240 and 241: COMB(l) COMB(l) FIT..ES s.COMB The
- Page 243 and 244: CP ( 1) CP ( 1) NAME cp, In, mv - c
- Page 245: CPIO ( 1 ) CPIO ( 1) NAME cpio - co
- Page 250 and 251: CPP ( 1) CPP (1) Two special names
- Page 253 and 254: CRYPT { l ) ( Domestic Version Only
- Page 255 and 256: CSPLIT ( 1) CSPLIT (l) NAME csplit
- Page 257 and 258: CU ( lC ) CU ( lC ) NAME cu - call
- Page 259: CU(lC) CU ( lC ) BUGS Cu buffers in
- Page 262 and 263: CUT ( 1) CUT(l) DIAGNOSTICS line to
- Page 264 and 265: CW(l) CW (l) .OW Start of text to b
- Page 266 and 267: CW (l) CW (l) Documents that contai
- Page 268 and 269: .� .• \ __ }
- Page 270 and 271: DATE(l) DATE(l) DIAGNOSTICS No perm
- Page 272 and 273: DC( 1) DC (1) x =x The top two elem
- Page 275 and 276: DD ( 1 ) DD ( 1) NAME dd - convert
- Page 277 and 278: � I DELTA ( l ) DELTA (I) NAME de
- Page 279 and 280: DELTA ( 1) DELTA (!) WARNINGS Lines
- Page 281: DEROFF (l) DEROFF (l) NAME derofi -
- Page 284 and 285: DIFF ( 1) DIFF ( 1) -e producing a
- Page 287: DIFF3 ( 1 ) DIFF3 (1) NAME diff3 -
- Page 291: DIRCMP ( 1) DIRCMP ( 1) NAME dircmp
- Page 295 and 296: DUMP ( 1 ) DUMP(!) NAME dump - dump
CPIO ( 1) CPIO ( 1)<br />
cpio -oc 0128 > /dev/rfp021<br />
will begin the output at block number 128.<br />
t Print a table of contents of the input. No files are<br />
created.<br />
T Provides a specific buffer size for the cpio operation. The<br />
size of the buffer, in kilobytes ( lKB = 1024B ), follows<br />
the T. For example,<br />
cpio -ict T64 < /devjrfp021<br />
uses a 64KB buffer while it reads the filenames from the<br />
cpio set. Note that if no buffer size is specified, 64KB<br />
buffers are used.<br />
u Copy unconditionally (normally, an older file will not<br />
replace a newer file with the same name).<br />
v Verbose : causes a list of file names to be printed. When<br />
used with the t option, the table of contents looks like the<br />
output of an Is -1 command (see ls (1)).<br />
x Halt the cpio operation as soon as one filename in the pattern<br />
list is restored (otherwise the entire cpio set is read).<br />
This option is used only with the -i option.<br />
m<br />
Whenever possible, link files rather than copying them.<br />
Usable only with the -p option.<br />
Retain previous file modification time. This option is<br />
ineffective on directories that are being copied.<br />
r Copy in all files except those in patterns.<br />
s Swap bytes. Use only with the -i option.<br />
S Swap halfwords. Use only with the -i option.<br />
b Swap both bytes and halfwords. Use only with the -i<br />
option.<br />
6 Process an old (i.e., UNIX Sixth Edition format) file. Only<br />
useful with -i (copy in).<br />
EXAMPLES<br />
The first example below copies the contents of a directory into an<br />
archive; the second duplicates a directory hierarchy:<br />
Is I cpio -o > /dev /rfp021<br />
cd olddir<br />
find • -depth -print I cpio -pdl newdir<br />
The trivial case "find • -depth -print I<br />
> /dev /rfp021" can be handled more efficiently by:<br />
find . -cpio jdev /rfp021<br />
SEE ALSO<br />
ar(1), find(1), cpio(4).<br />
cpio -oB<br />
BUGS<br />
Path names are restricted to 128 characters. If there are too<br />
many unique linked files, the program runs out of memory to keep<br />
- 2-