Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 1998 07:50:27 +0900
From:      k-horik@yk.rim.or.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/7221: tar(1)'s -C and --directory options can be used for creation.
Message-ID:  <19980709075027F.k-horik@yk.rim.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         7221
>Category:       docs
>Synopsis:       tar(1)'s -C and --directory options can be used for creation.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  8 16:00:02 PDT 1998
>Last-Modified:
>Originator:     Kazuo Horikawa
>Organization:
personal user
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	.\"     $Id: tar.1,v 1.6.2.3 1998/02/15 17:05:30 steve Exp $

>Description:

	In tar(1) man page, there is a description about -C and
	--directory option as follows.

     -C directory
     --directory directory   Change to directory for extraction.


	But, we can use -C and --directory option for creation.  For
	example, -C option is used for creation in EXAMPLES section.

		tar -cf - -C srcdir . | tar xpf - -C destdir


	So, how about change the description about -C and --directory
	option as follows?

     -C directory
     --directory directory   Change to directory for creation or extraction.

>How-To-Repeat:

	% man 1 tar

>Fix:
--- tar.1.orig  Wed Jul  8 23:38:15 1998
+++ tar.1       Wed Jul  8 23:57:56 1998
@@ -140,7 +140,7 @@
 .It Fl -directory Ar directory
 Change to
 .Ar directory
-for extraction.
+for creation or extraction.
 .It Fl -checkpoint
 Print number of buffer reads/writes while reading/writing the archive.
 .It Fl f Ar [hostname:]file
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980709075027F.k-horik>