Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

pax(1) OSS Shell and Utilities Reference Manual
LC_MESSAGES
Determines the locale for the processing of afrmative responses that should be used to
affect the format and contents of diagnostic messages written to the standard error le.
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
Species 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 ag in the command.
EXAMPLES
The following examples create or read archives in ustar format.
1. To copy the le 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 les rooted in /usr in the archive extracted relative to
the current directory, enter:
pax -r -s ,ˆ//*usr//*,,-f a.pax
4. To restore les from a tape mounted on $TAPE to the Guardian target $VOL.SUBVOL,
extracting only the .c les and overwriting any existing Guardian les with the same
name, enter:
cd /G/vol/subvol
pax -r -f /G/tape -W clobber *.c
5. To archive all OSS les on the local node into the le named paxle,enter:
pax -wvf paxle -W NOG -W NOE /
6. To extract and restore all OSS les in an archive named paxle but skip les archived
from /G,enter:
pax -rvf paxle -W NOG
720 Hewlett-Packard Company 527188-003