Version 1.0
- 1 -
October 1984
CPIO(1)
Silicon Graphics
CPIO(1)
NAME
cpio - copy file archives in and out
SYNOPSIS
cpio -o
[
#aBchv
] [
name-list
]
cpio -i
[
#BcdhmrtuvfsSb6
] [ patterns ]
cpio -p
[
adlmruv
] directory
DESCRIPTION
Cpio -o
(copy out) uses the
name-list
arguments, or reads the standard input
to obtain a list of path names and copies those files onto the standard output
(or to the device /dev/rmt#) together with path name and status informa-
tion.
Cpio -i
(copy in) extracts files from the standard input (or from the device
/dev/rmt#) which is assumed to be the product of a previous
cpio -o
.
Only files with names that match
patterns
are selected.
Patterns
are given in
the name-generating notation of
sh
(1). In
patterns
, meta-characters
?
,
*
, and
[...]
match the slash / character. Multiple
patterns
may be specified and if
no
patterns
are specified, the default for
patterns
is
*
(i.e., select all files).
The extracted files are conditionally created and copied into the current
directory tree based upon the options described below.
Cpio -p
(pass) reads the standard input to obtain a list of path names of files
that are conditionally created and copied into the destination
directory
tree
based upon the options described below.
The meanings of the available options are:
#
Use /dev/rmt# as input (for
-i
) or output (for
-o
). Note: 6 has another
meaning described below.
a
Reset access times of input files after they have been copied.
B
Input/output is to be blocked 5,120 bytes to the record (does not apply
to the
pass
option; meaningful only with data directed to or from
/dev/
rmt?
).
c
Write
header
information in ASCII character form for portability.
d Directories
are to be created as needed.
h
Similar to
B
option, but block input/output to 250K bytes. This option is
only useful for streaming tape drive operation.
r
Interactively
rename
files. If the user types a null line, the file is skipped.
t
Print a
table of contents
of the input. No files are created.
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
ls -l
command
(see
ls
(1)).
l
Whenever possible, link files rather than copying them. Usable only with
the
-p
option.
m
Retain previous file modification time. This option is ineffective on
directories that are being copied.
f
Copy in all files except those in
pattems
.
s
Swap bytes. Use only with the
-i
option.
S
Swap halfwords. Use only with the
-i
option.
Summary of Contents for IRIS Workstation
Page 1: ...IRIS Workstation Guide Version 1 0 Silicon Graphics Inc Mountain View California 94043 ...
Page 6: ...2 IRIS WORKSTATION GUIDE Version 1 0 Introduction ...
Page 24: ...20 IRIS WORKSTATION GUIDE Version 1 0 Hardware Installation ...
Page 30: ...26 IRIS WORKSTATION GUIDE Version 1 0 Operation ...
Page 48: ...44 IRIS WORKSTATION GUIDE Version 1 0 System Administration ...
Page 50: ...46 IRIS WORKSTATION GUIDE Version 1 0 Appendix A ...
Page 74: ...70 IRIS WORKSTATION GUIDE Version 1 0 Appendix B ...
Page 77: ...Version 1 0 IRIS WORKSTATION GUIDE 73 Appendix C e random gr error f wnrepaint ...
Page 78: ...74 IRIS WORKSTATION GUIDE Version 1 0 Appendix C ...
Page 92: ...88 IRIS WORKSTATION GUIDE Version 1 0 Appendix D ...
Page 102: ...98 IRIS WORKSTATION GUIDE Version 1 0 Appendix E ...
Page 103: ...Appendix F Manual Pages ...
Page 104: ......
Page 131: ...Version 1 0 126 IRIS WORKSTATION GUIDE Appendix F ...
Page 132: ......
Page 136: ...130 IRIS WORKSTATION GUIDE Version 1 0 Appendix H ...
Page 152: ...146 IRIS WORKSTATION GUIDE Version 1 0 Appendix J ...