From owner-freebsd-current@FreeBSD.ORG Mon Mar 28 18:52:53 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C7FC16A4CE for ; Mon, 28 Mar 2005 18:52:53 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id D234643D2D for ; Mon, 28 Mar 2005 18:52:52 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) j2SIqnSm085139; Mon, 28 Mar 2005 10:52:49 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)j2SIqn9K085138; Mon, 28 Mar 2005 10:52:49 -0800 (PST) (envelope-from sgk) Date: Mon, 28 Mar 2005 10:52:49 -0800 From: Steve Kargl To: Doug Poland Message-ID: <20050328185249.GB69540@troutmask.apl.washington.edu> References: <42483DF1.7090805@elischer.org> <200503281728.j2SHSbcX031848@realtime.exit.com> <20050328175500.GC95281@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050328175500.GC95281@polands.org> User-Agent: Mutt/1.4.2.1i cc: "Brian K. White" cc: Julian Elischer cc: freebsd-current@freebsd.org Subject: Re: Heads up: gtar gone from base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 18:52:53 -0000 On Mon, Mar 28, 2005 at 11:55:01AM -0600, Doug Poland wrote: > On Mon, Mar 28, 2005 at 09:28:37AM -0800, Frank Mayhar wrote: > > Julian Elischer wrote: > > > Brian K. White wrote: > > > >> OK, the example I cannot live without... > > > >> > > > >> > > > >> To move file hierarchies, use a command line like this: > > > >> > > > >> tar -cf - -C srcdir . | tar xpf - -C destdir > > > > > > bsdtar supports -C.. > > > > > > what in the above line doesn't work? > > > > I think he just wants that example to live in the bsdtar manpage, as it > > (apparently) did in the gtar manpage. > > > Correct, just a documentation issue. Didn't mean to cause a fuss... > *** bsdtar.1.orig Mon Mar 28 10:43:08 2005 --- bsdtar.1 Mon Mar 28 10:51:07 2005 *************** *** 457,462 **** --- 457,465 ---- the default tape drive: .Dl Nm Fl x .Pp + To move file hierarchies, use a command line like this: + .Dl Nm Fl cf Pa - Fl C Pa srcdir \&. | Nm Fl xpf Pa - Fl C Pa destdir + .Pp In create mode, the list of files and directories to be archived can also include directory change instructions of the form .Cm -C Ns Pa foo/baz -- Steve