summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-04-08 06:21:03 +0000
committerkientzle <kientzle@FreeBSD.org>2004-04-08 06:21:03 +0000
commit72bca63fd4d3b1be1b8b39d1701949506ba338d8 (patch)
tree9a79928d4923a8707a804694669223e735e3787e
parent1b8aab3f614c2c9ea94f3995fcd1d713c7fa5e32 (diff)
downloadFreeBSD-src-72bca63fd4d3b1be1b8b39d1701949506ba338d8.zip
FreeBSD-src-72bca63fd4d3b1be1b8b39d1701949506ba338d8.tar.gz
Document the newly-implemented -T option.
-rw-r--r--usr.bin/tar/bsdtar.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1
index 4577481..dc49173 100644
--- a/usr.bin/tar/bsdtar.1
+++ b/usr.bin/tar/bsdtar.1
@@ -132,8 +132,7 @@ In create mode, note that
.Fl C
options are all processed before any files are read.
To change directories between files, use
-.Cm C=
-instead.
+.Cm C= Ns Pa dir .
.It Cm C= Ns Pa dir
(c and r mode only)
Change to the specified directory before adding the following files.
@@ -230,6 +229,15 @@ Attempt to restore the full permissions, including owner, file modes, file
flags and ACLs, if available, for each item extracted from the archive.
By default, newly-created regular files have the file mode restored and
all other types of entries receive default permissions.
+.It Fl T Ar filename
+(c mode only)
+Read names to be archived from
+.Pa filename .
+Names are terminated by newlines.
+The special name
+.Dq -C
+will cause the current directory to be changed to the directory
+specified on the following line.
.It Fl U
(x mode only)
Unlink files before creating them.
OpenPOWER on IntegriCloud