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

01.01.2013 Views

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 -

CPIO ( 1) CPIO ( 1)<br />

track of them and, thereafter, linking information is lost. Only<br />

the super-user can copy special files.<br />

- 3 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!