On Thu, 27 Dec 2001, Keith Morse wrote:

> On Thu, 27 Dec 2001, Monte Milanuk wrote:
>
> > A while back (in the last month or two, I recall seeing a post/thread on
> > the proper procedure/syntax on copying from the RH CD's to a directory on
> > HD for exporting via NFS for installs, etc.  I've been trawling back thru
> > my archives of the redhat-list and enigma-list, but so far I've been
> > unable to located it.  Anyone care to fwd me the info?
>
>
> My current one off favourite.
>
> cd /mnt/cdrom; tar -cvf - . | (cd /mnt/scratch/pub/2/engima;tar -xf - )

Does this syntax for tar actually work?  What version of tar are you
using?  When I try it I get:
        jcunning@bigbear:~ > tar -zft fc-v2.0.tgz
        tar: You must specify one of the `-Acdtrux' options
        Try `tar --help' for more information.

but
        tar zft fc-v2.0.tgz
works fine.

BTW, it appears that the usage warning is out of date, because it implies
that the "-" is required.  The command "tar --version" gives me

  tar (GNU tar) 1.13.18
  Copyright 2000 Free Software Foundation, Inc.
  This program comes with NO WARRANTY, to the extent permitted by law.
  You may redistribute it under the terms of the GNU General Public License;
  see the file named COPYING for details.
  Written by John Gilmore and Jay Fenlason.

Jim Cunning



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to