Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
pax(1) OSS Shell and Utilities Reference Manual
3. The pax utility cannot append a file to an unlabeled tape. Each successive write to such
a tape begins at the beginning of the tape.
For example, if you issue the following commands from the shell:
find xlog -print | pax -wv -f /G/TAPE -W norewind
find xlog.bsm -print | pax -wv -f /G/TAPE -W norewind
Then physically unload the tape, reload the tape, and enter:
pax -rv -f /G/TAPE -W norewind
You will see that the tape contains only the last file archived by the two commands
above.
To archive more than one file on an unlabeled tape, you must enter all of the commands
within the same subshell. For example:
( find xlog -print; find xlog.bsm -print ) | pax -wv -f /G/tape
The above command causes all the files printed by both the find commands to be put on
tape because the find commands are executed in a subshell.
RELATED INFORMATION
Commands: cp(1), cpio(1), ed(1), pinstall(1), tar(1).
Files: cpio(4), tar(4).
Miscellaneous topics: acl(5).
STANDARDS CONFORMANCE
The -W flags and the GUARD_REMOTE_TAPE and UTILSGE environment variables are HP
extensions to the XPG4 Version 2 specification.
7−22 Hewlett-Packard Company 527188-021