HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
p
pax(1) pax(1)
-v Writes information about the process. If neither the -r or -w flags are specified, the -v
flag produces a verbose table of contents that resembles the output of ls -l; otherwise,
archive-member pathnames are written to standard error.
-w Writes files to the standard output in the specified archive format.
-x format Specifies the output archive format. The pax command recognizes the following formats:
cpio Extended cpio interchange format. The default blocking value for this
format for character special archive files is 5120. Blocking values from 512
to 32,256 in increments of 512 are supported.
ustar Extended tar interchange format. This is the default output archive for-
mat. The default blocking value for this format for character special
archive files is 10240. Blocking values from 512 to 32,256 in increments of
512 are supported.
Any attempt to append to an archive file in a format different from the existing archive for-
mat causes the pax command to exit immediately with a nonzero exit status.
-X When traversing the file hierarchy specified by a pathname, the
pax command does not
descend into directories that have a different device ID.
-y Prompts interactively for the disposition of each file. Substitutions specified by
-s flags
are performed before you are prompted for disposition. An EOF marker or an input line
starting with the character
q causes pax to exit. Otherwise, an input line starting with
anything other than y causes the file to be ignored. This flag cannot be used in conjunction
with the -i flag.
Option Interaction and Processing Order
The flags that operate on the names of files or archive members (-c, -i
, -n, -s, -u, and -v) interact as
follows.
When extracting files (
-r flag), archive members are selected, using the modified names, according to the
user-specified pattern arguments as modified by the -c, -n, and -u flags. Then, any
-s and -i flags
modify, in that order, the names of the selected files. The
-v flag writes the names resulting from these
modifications.
When writing files to an archive file (-w flag), or when copying files, the files are selected according to the
user-specified pathnames as modified by the -n and -u flags. Then, any
-s and -i flags modify, in that
order, the names resulting from these modifications. The
-v flag writes the names resulting from these
modifications.
If both the -u and -n flags are specified, the pax command does not consider a file selected unless it is
newer than the file to which it is compared.
Listing Member Files of Archived Files
When neither the
-r nor the -w flags are specified, the pax command writes the names of the members
of the archive file read from the standard input, with pathnames matching the specified patterns, to the
standard output. If a named file is a directory, the file hierarchy contained in the directory is also written.
You can specify the pax command without the -r or -w flags with the
-c, -d, -f, -n, -s, and -v
flags, and with the pattern argument.
If neither the -r or -w flags are included, pax lists the contents of the specified archive, one file per line.
pax lists hard link pathnames as follows:
pathname==linkname
pax lists symbolic link pathnames as follows:
pathname->linkname
In both of the preceding cases, pathname is the name of the file that is being extracted, and linkname is the
name of a file that appeared earlier in the archive.
If the -v flag is specified, the listing of hard link pathnames is output in the ls -l command format.
Extracting Archive Files
When the -r flag is specified, but the -w flag is not, the
pax command extracts the members of an
archive file read from the standard input, and with pathnames matching the pattern argument if one is
Section 1−−664 − 3 − HP-UX Release 11i: December 2000
___
___