HP-UX Reference (11i v3 07/02) - 1 User Commands N-Z (vol 2)

p
pax(1) pax(1)
%f The lename of the file, equivalent to the result of the basename utility on the
translated pathname.
%p The process ID of the pax process.
%% A %’ character.
If there are any other ’%’ characters in
string,orifno-o exthdr.name= string
is specified,
pax shall use the following default value:
%d/PaxHeaders.%p/%f
globexthdr.name=
string
(Applicable only to the
-x pax format.) This keyword allows user control over the
name that is written into the ustar header blocks for global extended header
records. The name shall be the contents of string, after the following character substi-
tutions have been made:
%n An integer that represents the sequence number of the global extended header
record in the archive, starting at 1.
%p The process ID of the pax process.
%% A %’ character.
If there are any other ’%’ characters in string,orifno-o
globexthdr.name=
string is specified,
pax shall use the following default value:
$TMPDIR/GlobalHead.%p.%n
where $TMPDIR represents the value of the TMPDIR environment variable. If
TMPDIR is not set, pax shall use /tmp.
invalid=action
(Applicable only to the -x pax format.) This keyword allows user control over the
action pax takes upon encountering values in an extended header record that, in
read or copy mode, are invalid in the destination hierarchy. The following are
invalid values that shall be recognized by pax:Inread or copy mode, a filename
or link name that is longer than the maximum allowed in the destination hierarchy.
The following mutually-exclusive values of the action argument are supported:
bypass
In read or copy mode, pax shall bypass the file, causing no change to the
destination hierarchy.
rename
In read or copy mode, pax shall act as if the -i option were in effect for
each file with invalid filename or link name values, allowing the user to provide
a replacement name interactively.
write
In read or copy mode, pax shall write the file, translating the name regard-
less of whether this may overwrite an existing file with a valid name. This action
argument is not supported for files having invalid link names.
If no -o invalid= option is specified, pax shall act as if -o invalid=bypass
was specified. Any overwriting of existing files that may be allowed by the -o
invalid=
actions shall be subject to permission (-p) and modification time (-u) res-
trictions, and shall be suppressed if the -k option is also specified.
linkdata
(Applicable only to the -x pax format.) In write mode, pax shall write the con-
tents of a file to the archive even when that file is merely a hard link to a file whose
contents have already been written to the archive.
listopt=format
This keyword specifies the output format of the table of contents produced when the
-v option is specified in list mode. See List Mode Format Specifications. To avoid
ambiguity, the listopt= format shall be the only or final keyword= value pair in a
-o option-argument; all characters in the remainder of the option-argument shall be
considered part of the format string. When multiple -o listopt=format options
108 Hewlett-Packard Company 4 HP-UX 11i Version 3: February 2007