aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/tar/tar.1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-24 10:52:23 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-24 10:52:23 +0000
commitd6e3a23dbcae64e21cec312f7db166a380489b33 (patch)
tree89c3ebc0aa638af3ee42275a4c0c092f9812a6dc /gnu/usr.bin/tar/tar.1
parent3d0dea2a758396c30338942a2724491c6883caaa (diff)
downloadsrc-d6e3a23dbcae64e21cec312f7db166a380489b33.tar.gz
src-d6e3a23dbcae64e21cec312f7db166a380489b33.zip
Clean up the -j/-y/--bzip entry in usage().
Add the -U and --unlink-first options which are the offical verions of our --unlink localism. Add support for the "TAR_OPTIONS" environmental variable. Obtained from: GNU tar 1.13.18
Notes
Notes: svn path=/head/; revision=70327
Diffstat (limited to 'gnu/usr.bin/tar/tar.1')
-rw-r--r--gnu/usr.bin/tar/tar.113
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/usr.bin/tar/tar.1 b/gnu/usr.bin/tar/tar.1
index ce6a8df16b0c..60fd20a91fa0 100644
--- a/gnu/usr.bin/tar/tar.1
+++ b/gnu/usr.bin/tar/tar.1
@@ -267,6 +267,10 @@ to expect null-terminated names; disables
.It Fl -totals
Prints total bytes written with
.Fl -create.
+.It Fl U
+.It Fl -unlink
+.It Fl -unlink-first
+Unlink files before creating them.
.It Fl v
.It Fl -verbose
Lists files written to archive with
@@ -319,9 +323,14 @@ Block the output of compression program for tapes or floppies
(otherwise writes will be of odd length, which device drivers may reject).
.It Fl [0-7][lmh]
Specify tape drive and density.
-.It Fl -unlink
-Unlink files before creating them.
.El
+.Sh ENVIRONMENT
+The environment variable
+.Ev TAR_OPTIONS
+can hold a set of default options for
+.Nm .
+These options are interpreted first and can be overwritten by explicit command
+line parameters.
.Sh EXAMPLES
To create an archive on tape drive /dev/rsa0 with a block size of 20
blocks, containing files named "bert" and "ernie", you can enter