MPE/iX Shell and Utilities Reference Manual, Vol 2

pax(1) MPE/iX Shell and Utilities pax(1)
–c selects all those files which do not match any of the patterns given on the command
line; this is the opposite of the usual behavior.
–d does not traverse directories. A pattern matching a directory only extracts the direc-
tory itself. When creating an archive, a directory name only stores the directory
itself.
–f archive
lets you specify the name of the archive file instead of using the standard input for
list and read modes and the standard output for write mode. archive can also be a
device name.
–i lets you rename files as pax works. When extracting, pax displays the name of the
component it is about to extract and gives you the chance to specify a name for the
extracted file. When archiving, pax displays the name of the file or directory it is
about to record in the archive, and lets you specify a different name to be assigned to
the component. If you enter . as the name, pax processes the file or directory with
no modification to the name. If you just press
ENTER, pax skips the file (doesn’t
extract or archive it). pax terminates if you enter end-of-file.
If you also specify –s, pax makes the given substitution before displaying the name
of the component.
–k prevents the overwriting of existing files.
–L follows symbolic links. When you specify this option, pax copies the file to which a
symbolic link points to the archive. Normally, only the symbolic link is copied. This
option is only valid on systems which support symbolic links.
–l in copy mode, creates links to the original files whenever possible, rather than copy-
ing them.
–n treats the pattern arguments as ordinary path names. pax only selects the first com-
ponent with a given path name, even if the archive contains several components with
the same name. pax checks the given path names against the archive before apply-
ing any renaming from the –i or –s options. pax writes an error message for each
specified file that cannot be found in the archive.
–o options
provides information for modifying the algorithm for writing and extracting files that
the file format specified with –x uses.
Presently, pax supports one option to –o. It converts data from one code set to
another while reading or writing an archive. This option has the format:
–o keyword=value[,keyword=value]...
1-418 Commands and Utilities