HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

p
pax(1) pax(1)
cpio -icdum < archive
pax -r < archive
(cd /fromdir;find . -print) | cpio -pdlum /todir
pax -rwl /fromdir /todir
tar cf archive *
pax -w -f archive *
tar xfv - < archive
pax -rv < archive
(cd /fromdir; tar cf -.)|(cd/todir; tar xf -)
pax -rw /fromdir /todir
Notes
When you use the -i flag (interactively renames files) on files to which there are hard links,
pax does not
create hard links to the renamed files.
WARNINGS
Because of industry standards and interoperability goals,
pax does not support the archival of files larger
than 2GB or files that have user/group IDs greater than 60K. Files with user/group IDs greater than 60K
are archived and restored under the user/group ID of the current process.
AUTHOR
pax was developed by Mark H. Colburn, OSF, and HP.
SEE ALSO
ed(1), tar(4)
STANDARDS CONFORMANCE
pax: XPG4, POSIX.2
This implementation of pax
is based upon a POSIX.2 draft specification. HP intends to update pax to
meet the final POSIX.2 Standard once it completes, and thus the
pax implementation is likely to change in
a future release of HP-UX, possibly in ways incompatible with the current implementation. HP recom-
mends using the current implementation only if absolutely necessary.
Section 1706 Hewlett-Packard Company 5 HP-UX 11i Version 1: September 2005