HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)

p
pax(1) pax(1)
(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 8GB or files that have user/group IDs greater than 2048K. Files with user/group IDs greater than
2048K are archived and restored under the user/group ID of the current process, unless the
uname/gname exists.
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 1686 Hewlett-Packard Company 5 HP-UX 11i Version 2: August 2003