Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (p - r) pinstall(1)
NAME
pinstall - Extracts files from a pax (ustar) format archive file and copies them to the OSS file
system
SYNOPSIS
pinstall [-r][-cdiknuv][-f archive][-p string] ...
[-s replstr] ... [-W options ][pattern] ...
FLAGS
-c Matches all file or archive members except those specified by the pattern operand.
-d Does not create intermediate directories unless they are specifically named in the
archive file. Similiarly, files are not extracted unless the required directories already
exist.
-f archive
Specifies the OSS pathname of the input archive. The archive argument can be:
• The pathname for a Guardian tape device (such as /G/tape for the Guardian
device named \NODE1.$TAPE on \NODE1)
• The pathname for a Guardian file (such as /G/system/system/archfile for the
Guardian file $SYSTEM.SYSTEM.ARCHFILE)
If a tape device is used, pinstall displays the appropriate tape mount messages to make
sure that the correct tapes are mounted on the tape drives before proceeding.
-f does not preserve file access times.
-i Interactively renames archive members. For each archive member matching the
specified pattern operand, a prompt is written to the terminal. The prompt contains the
name of the archive member that is to be renamed. The user’s response is read from
the terminal.
If the user’s response to the prompt is blank, the archive member is skipped. If the
response is a single period (dot), the archive member is processed with no modification
to its name. Otherwise, the name is replaced with the contents of the response.
-k Prevents existing files from being overwritten.
-n Selects the first archive member that matches the specified pattern operand. No more
than one archive member is matched for each pattern operand.
-p string Specifies one or more file characteristic options (privileges). The string argument must
be a string specifying file characteristics to be retained or discarded on extraction. The
string argument can consist of any combination of the following options:
a Do not preserve file access times.
e Preserve the user ID, group ID, file mode bits, file access times, and file
modification times.
m Do not preserve file modification times.
o Preserve the user ID and group ID.
p Preserve the file mode bits.
527188-021 Hewlett-Packard Company 7−23