Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (p - r) pax(1)
-X Prevents pax from descending into directories that have a different device ID when
traversing the file hierarchy specified by a pathname.
HP Extensions
-W clobber
Allows the matching files from an archive to be restored to a Guardian target and to
overwrite any existing Guardian target file with the same name. The files are restored
as unstructured files and Guardian file attributes are not preserved.
Be sure you understand the problems this can create (refer to the subsection Guardian
Filename Transformation under DESCRIPTION before using this flag).
-W NOG
Specifies that the Guardian namespace (/G) should not be accessible to pax. This flag
is effective only if the specified file is in the local (/G) or remote (/E/node/G) Guardian
namespace.
-W NOE Specifies that the Expand namespace (/E) should not be accessible to pax. This flag is
effective only if the specified file is in the Expand (/E) namespace.
-W noprompt
Specifies that pax should not prompt the user to load a tape. pax waits indefinitely
until the tape gets mounted. The -W noprompt flag has precedence over the -W wait
flag.
-W norewind
Specifies that the tape be left on the tape drive without being rewound and unloaded
after pax has finished writing to or reading from it. The tape drive is closed. The
default action is for the tape to be rewound.
The pax utility cannot append files on unlabeled tapes. Refer to the NOTES subsec-
tion of this reference page for more information.
The -W nounload flag is assumed when the -W norewind flag is specified. The -W
unload and -W norewind flags cannot be specified together.
-W [unload | nounload]
Specifies whether the tape is to be unloaded or left on the tape drive after it has been
rewound. The default action is -W unload.
-W [wait | nowait]
Specifies which of the following pax is to do if a tape is not mounted on the tape drive
or the tape drive goes off line:
• Issue a prompt and wait for you to mount a tape
• Exit immediately, without waiting
The default action is -W nowait.
Specify both the -W NOG and -W NOE flags to omit both the /G and /E directories.
DESCRIPTION
The pax utility reads and writes member files of archive files; writes lists of the member files of
archives; and copies directory hierarchies.
The -r and -w flags specify the archive operation performed by pax.
The name of the archive file can be specified with the -f flag. The archive file can be a disk file
or tape file on a mounted tape. If the -f flag is not specified, in read mode the archive file is
assumed to be the standard input file and in write mode the archive file is assumed to be the
527188-003 Hewlett-Packard Company 7−15