Heads up: gtar gone from base system
Steve Kargl
sgk at troutmask.apl.washington.edu
Mon Mar 28 10:52:53 PST 2005
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
More information about the freebsd-current
mailing list