HP-UX Reference (11i v3 07/02) - 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
Note: 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 of size
8GB or larger for both
ustar and
cpio formats. Also, pax does not support user and group IDs greater
than or equal to 2048K for
ustar
format. pax does not support and user and group IDs greater than or
equal to 256K for
cpio format. With ustar format, files with user IDs greater than or equal to 2048K
are restored under the user ID of the current process, unless the user name exists. The same applies for
group IDs. In cpio format, files with user or group IDs greater than or equal to 256K will not be
recovered with the original user or group IDs respectively.
AUTHOR
pax was developed by Mark H. Colburn, OSF, and HP.
SEE ALSO
ed(1), tar(4), disk(7), mt(7).
STANDARDS CONFORMANCE
pax: XPG4, POSIX.2
HP-UX 11i Version 3: February 2007 13 Hewlett-Packard Company 117