diff options
author | kris <kris@FreeBSD.org> | 2001-05-05 01:10:13 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-05-05 01:10:13 +0000 |
commit | b48e2b1dc26b8ed5eefa8412ae1efc92d53c6247 (patch) | |
tree | 863108cbe97f2ce506e4671f0a90e21db4946c19 /bin/pax/pax.1 | |
parent | 4ac9ed2901e82789c73fcf17f3c486b55fbef8c2 (diff) | |
download | FreeBSD-src-b48e2b1dc26b8ed5eefa8412ae1efc92d53c6247.zip FreeBSD-src-b48e2b1dc26b8ed5eefa8412ae1efc92d53c6247.tar.gz |
Add -z flag to pax to allow gzipping of archive output. Add -z and -Z (gzip
and compress) to pax when used in tar mode (invoked as 'tar') for
compatibility with GNU tar.
bzip2 functionality for further GNU tar compatibility will be added at a
later date.
Note in the manpage that -z is non-standard.
Obtained from: OpenBSD
Reviewed by: -hackers
MFC after: 2 weeks
Diffstat (limited to 'bin/pax/pax.1')
-rw-r--r-- | bin/pax/pax.1 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/bin/pax/pax.1 b/bin/pax/pax.1 index 052d57b..88a11eb 100644 --- a/bin/pax/pax.1 +++ b/bin/pax/pax.1 @@ -44,7 +44,7 @@ .Nd read and write file archives and copy directory hierarchies .Sh SYNOPSIS .Nm -.Op Fl cdnv +.Op Fl cdnvz .Bk -words .Op Fl f Ar archive .Ek @@ -71,7 +71,7 @@ .Op Ar pattern ...\& .Nm .Fl r -.Op Fl cdiknuvDYZ +.Op Fl cdiknuvzDYZ .Bk -words .Op Fl f Ar archive .Ek @@ -107,7 +107,7 @@ .Op Ar pattern ...\& .Nm .Fl w -.Op Fl dituvHLPX +.Op Fl dituvzHLPX .Bk -words .Op Fl b Ar blocksize .Ek @@ -756,6 +756,12 @@ as the result of any specific archive format restrictions. The individual archive formats may impose additional restrictions on use. Typical archive format restrictions include (but are not limited to): file pathname length, file size, link pathname length and the type of the file. +.It Fl z +Use +.Xr gzip 1 +to compress (decompress) the archive while writing (reading). +Incompatible with +.Fl a . .It Fl B Ar bytes Limit the number of bytes written to a single archive volume to .Ar bytes . @@ -1100,6 +1106,7 @@ utility is a superset of the .St -p1003.2 standard. The options +.Fl z , .Fl B , .Fl D , .Fl E , |