Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Feb 1999 11:01:44 +1000
From:      Greg Black <gjb@comkey.com.au>
To:        Joe Lira <joe@joe.to>
Cc:        Michael Berhanu <BMICK@bigpond.com>, questions@FreeBSD.ORG
Subject:   Re: Tar Files 
Message-ID:  <19990202010144.28799.qmail@alpha.comkey.com.au>
In-Reply-To: <Pine.BSF.4.05.9902011052010.20850-100000@c4.joe.to>  of Mon, 01 Feb 1999 10:52:56 PST
References:  <Pine.BSF.4.05.9902011052010.20850-100000@c4.joe.to> 

next in thread | previous in thread | raw e-mail | index | archive | help
> to compress * into filename.tar:
> 
> tar -cvf * filename.tar

Wrong on two counts.  This does not compress anything (although
the -z option to many versions of tar will do compression); and
the syntax is wrong.

As shown, it will attempt to overwrite the first file in the
expansion of `*'; and it will attempt (and probably fail) to put
`filename.tar' into the archive.

Please take the small amount of time needed to post correct
answers, especially when advising people who clearly know next
to nothing and who could suffer from following erroneous advice.

-- 
Greg Black <gjb@acm.org>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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