aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorChuck Robey <chuckr@FreeBSD.org>1996-08-13 00:13:49 +0000
committerChuck Robey <chuckr@FreeBSD.org>1996-08-13 00:13:49 +0000
commita194eef2f840788191d5cb6c4074116eeb099d39 (patch)
tree8a2ef4b35acaaa0d8187aedf8b8925530499c983 /gnu
parentc07cbf9cf89756ef01a39b3af3033f97135331d5 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/tar/tar.112
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/usr.bin/tar/tar.1 b/gnu/usr.bin/tar/tar.1
index 4da7a81ccfa5..47be4e7d8ae4 100644
--- a/gnu/usr.bin/tar/tar.1
+++ b/gnu/usr.bin/tar/tar.1
@@ -3,7 +3,7 @@
.\"
.\" Written by John F. Woods <jfw@jfwhome.funhouse.com>
.\"
-.\" $Id: tar.1,v 1.4 1995/10/25 02:17:44 torstenb Exp $
+.\" $Id: tar.1,v 1.5 1996/02/09 21:14:26 jmz Exp $
.\"
.Dd 6 August 1994
.Os FreeBSD
@@ -152,7 +152,8 @@ will use
.Xr rmt 8
to read or write the specified
.Ar file
-on a remote machine.
+on a remote machine. "-" may be used is a filename, for reading
+or writing to/from stdin/stdout.
.It Fl F Ar file
.It Fl -info-script Ar file
.It Fl -new-volume-script Ar file
@@ -168,7 +169,7 @@ Create/list/extract old GNU-format incremental backup.
.It Fl -listed-incremental Ar file
Create/list/extract new GNU-format incremental backup.
.It Fl h
-.it Fl -dereference
+.It Fl -dereference
Don't write symlinks as symlinks; write the data of the files they name.
.It Fl i
.It Fl -ignore-zeros
@@ -318,6 +319,11 @@ attempting to expand it according the files in the current working
directory (the shell does not have access to the list of files in
the archive, of course).
.Pp
+To move file hierarchies, use a command line like this:
+.Bd -literal
+tar tar -cf - -C srcdir . | tar xpf - -C destdir
+.Ed
+.Pp
To create a compressed archive on diskette, using gzip, use a command-line like
.Dl tar --block-compress -z -c -v -f /dev/rfd1a -b 36 tar/
Note that you cannot mix bundled flags and --style flags; you can use