16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pax<br />

If you do not specify –o, no code set conversion is done. When<br />

making code set conversions, pax assumes that all files are text<br />

files, since only text files are portable.<br />

The following keyword-value pairs are supported for the indicated<br />

file formats:<br />

delete=pattern<br />

(Applicable only to the -x pax format.) When used in write<br />

or copy mode, pax omits from extended header records<br />

that it produces any keywords matching the string pattern.<br />

When used in read or list mode, pax ignores any keywords<br />

matching the string pattern in the extended header records.<br />

For example:<br />

-o delete=realtime.*<br />

would suppress information related to the realtime<br />

keyword. When multiple -o delete=pattern options are<br />

specified, the patterns are additive; all keywords matching<br />

the specified string patterns are omitted from extended<br />

header records that pax produces. Matching shall be<br />

performed using the pattern matching notation described in<br />

Patterns Matching a Single Character and Patterns<br />

Matching Multiple Characters.<br />

exthdr.name=string<br />

(Applicable only to the -x pax format.) This keyword allows<br />

user control over the name that is written into the USTAR<br />

header blocks for the extended header produced under the<br />

circumstances described in pax Header Block. The name is<br />

the contents of string, after the following character<br />

substitutions have been made:<br />

Table 22. exthdr.name string values<br />

string<br />

Includes: Replaced by:<br />

%d The directory name of the file, equivalent to the result of the<br />

dirname utility on the translated pathname.<br />

%f The filename of the file, equivalent to the result of the<br />

basename utility on the translated pathname.<br />

%p The process ID of the pax process.<br />

%% A % character.<br />

480 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference<br />

Any other % characters in string produce the character<br />

itself. For instance %s shall print the character ’s’.<br />

If no -o exthdr.name=string is specified, pax uses the<br />

following default value:<br />

%d/PaxHeaders.%p/%f<br />

globexthdr.name=string<br />

(Applicable only to the -x pax format.) When used in write<br />

or copy mode with the appropriate options, pax creates<br />

global extended header records with USTAR header blocks<br />

that will be treated as regular files by previous versions of<br />

pax. This keyword allows user control over the name that is

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

Saved successfully!

Ooh no, something went wrong!