summaryrefslogtreecommitdiff
path: root/archivers/pax/files/tar.1
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pax/files/tar.1')
-rw-r--r--archivers/pax/files/tar.127
1 files changed, 19 insertions, 8 deletions
diff --git a/archivers/pax/files/tar.1 b/archivers/pax/files/tar.1
index 618874f35d0..f6fd920b10c 100644
--- a/archivers/pax/files/tar.1
+++ b/archivers/pax/files/tar.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: tar.1,v 1.4 2004/06/20 10:11:02 grant Exp $
+.\" $NetBSD: tar.1,v 1.5 2005/12/01 03:00:01 minskim Exp $
.\"
.\" Copyright (c) 1996 SigmaSoft, Th. Lockert
.\" All rights reserved.
@@ -11,11 +11,6 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by SigmaSoft, Th. Lockert.
-.\" 4. The name of the author may not be used to endorse or promote products
-.\" derived from this software without specific prior written permission
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -30,7 +25,7 @@
.\"
.\" OpenBSD: tar.1,v 1.28 2000/11/09 23:58:56 aaron Exp
.\"
-.Dd May 4, 2004
+.Dd May 7, 2005
.Dt TAR 1
.Os
.Sh NAME
@@ -39,7 +34,7 @@
.Sh SYNOPSIS
.Nm tar
.Sm off
-.Oo \&- Oc {crtux} Op Fl befhjklmopqvwzHLOPXZ014578
+.Oo \&- Oc {crtux} Op Fl befhjklmopqvwzHOPSXZ014578
.Sm on
.Op Ar archive
.Op Ar blocksize
@@ -150,6 +145,10 @@ No more than one archive member is matched for each
.Ar pattern .
When members of type directory are matched, the file hierarchy rooted at that
directory is also matched.
+.It Fl S , -sparse
+This flag has no effect as
+.Nm
+always generates sparse files.
.It Fl s Ar replstr
Modify the file or archive member names specified by the
.Ar pattern
@@ -236,6 +235,14 @@ Compress archive using compress.
Do not enable GNU tar extensions such as long filenames and long link names.
.It Fl -atime-preserve
Preserve file access times.
+.It Fl -chroot
+.Fn chroot
+to the current directory before extracting files.
+Use with
+.Fl x
+and
+.Fl h
+to make absolute symlinks relative to the current directory.
.It Fl -unlink
Ignored, only accepted for compatibility with other
.Nm
@@ -257,6 +264,10 @@ as a path component.
With this option, files that contain
.Sq ..
can be processed.
+.It Fl -no-recursion
+Cause files of type directory being copied or archived, or archive members of
+type directory being extracted, to match only the directory file or archive
+member and not the file hierarchy rooted at the directory.
.El
.Pp
The options