Re: Heads up: gtar gone from base system

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 28 Mar 2005 10:52:49 -0800
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
Received on Mon Mar 28 2005 - 16:52:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC