From owner-freebsd-questions Mon Feb 1 17:13:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17138 for freebsd-questions-outgoing; Mon, 1 Feb 1999 17:13:40 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA17128 for ; Mon, 1 Feb 1999 17:13:36 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 28800 invoked by uid 1001); 2 Feb 1999 01:01:44 -0000 Message-ID: <19990202010144.28799.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.03 20-Sep-1998 X-Mailer: exmh version 2.0.2 2/24/98 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Tue, 02 Feb 1999 11:01:44 +1000 From: Greg Black To: Joe Lira Cc: Michael Berhanu , questions@FreeBSD.ORG Subject: Re: Tar Files References: In-reply-to: of Mon, 01 Feb 1999 10:52:56 PST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message