Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
pax(1) OSS Shell and Utilities Reference Manual
LC_MESSAGES
Determines the locale for the processing of affirmative responses that should be used to
affect the format and contents of diagnostic messages written to the standard error file.
LC_TIME
Determines the format and contents of the date and time strings to be displayed.
NLSPATH
Determines the location of message catalogs for processing LC_MESSAGES.
UTILSGE
Specifies that HP extensions to the / (root) directory should be omitted when the initial
directory is the root directory and a recursive operation occurs in an OSS shell com-
mand. Application programs that test this variable might also honor its settings.
The UTILSGE value can be any of the following:
NOE Omit the /E directory.
NOG Omit the /G directory.
NOG:NOE Omit both the /G and /E directories.
The effect of assigning a value to the UTILSGE environment variable is the same as
specifying the -W NOG or -W NOE flag in the command.
EXAMPLES
The following examples create or read archives in ustar format.
1. To copy the file hierarchy of the current directory to the tape mounted on Guardian tape
device $TAPE using the blocking factor of 5120 bytes, enter:
pax -w -f /G/tape -b 10b .
2. To copy the directory olddir to the directory newdir,enter:
mkdir newdir
pax -rw olddir newdir
3. To read the archive a.pax, with all files rooted in /usr in the archive extracted relative to
the current directory, enter:
pax -r -s ’,ˆ//*usr//*,,’ -f a.pax
4. To restore files from a tape mounted on $TAPE to the Guardian target $VOL.SUBVOL,
extracting only the .c files and overwriting any existing Guardian files with the same
name, enter:
cd /G/vol/subvol
pax -r -f /G/tape -W clobber *.c
5. To archive all OSS files on the local node into the file named paxfile,enter:
pax -wvf paxfile -W NOG -W NOE /
6. To extract and restore all OSS files in an archive named paxfile but skip files archived
from /G,enter:
pax -rvf paxfile -W NOG
7−20 Hewlett-Packard Company 527188-003