Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 10:52:49 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Doug Poland <doug@polands.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Heads up: gtar gone from base system
Message-ID:  <20050328185249.GB69540@troutmask.apl.washington.edu>
In-Reply-To: <20050328175500.GC95281@polands.org>
References:  <42483DF1.7090805@elischer.org> <200503281728.j2SHSbcX031848@realtime.exit.com> <20050328175500.GC95281@polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050328185249.GB69540>