pax.1 (2010 09)

p
pax(1) pax(1)
excluded from the tree being backed up or extracted. The path specified must be a
part of the tree. Otherwise, the specified path will be ignored. The PAX-ENH pro-
duct must be installed to enable this option.
exthdr.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 the extended header pro-
duced under the circumstances described in pax Header Block . The name shall be
the contents of string, after the following character substitutions have been made:
%d The directory name of the file, equivalent to the result of the dirname utility
on the translated pathname.
%f The filename 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 sub-
stitutions 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.
graph=graph_file
(Applicable only to the -x pax format.) graph_file defines the graph file. The
graph file is a text file containing the list of file names of trees to be included or
excluded from the backup graph. Graph file entries consist of a line beginning with
either i (include) or e (exclude), followed by white space, and then the path name
of a tree. Lines not beginning with i or e are treated as an error. There is no
default graph file. For example, to back up all of /usr except for the subtree
/usr/lib, a file could be created with the following two records:
i /usr
e /usr/lib
The PAX-ENH product must be installed to enable this option.
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.
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010