From owner-freebsd-questions Mon Feb 1 12:31:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12054 for freebsd-questions-outgoing; Mon, 1 Feb 1999 12:31:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12045 for ; Mon, 1 Feb 1999 12:31:28 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id PAA00478; Mon, 1 Feb 1999 15:32:49 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902012032.PAA00478@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Tar Files In-Reply-To: from Joe Lira at "Feb 1, 99 10:52:56 am" To: joe@joe.to (Joe Lira) Date: Mon, 1 Feb 1999 15:32:49 -0500 (EST) Cc: BMICK@bigpond.com, questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joe Lira wrote, > to compress * into filename.tar: > > tar -cvf * filename.tar Two things, 1) The archive name/device should be the first argument, i.e. % tar cvf filename.tar * 2) tar does not do compression. If you want to do compression try, % tar cvf filename.tar * % gzip filename.tar Or, to be more guruish, % tar cvf - * | gzip -c > filename.tar.gz To do the same thing on one line. HTH. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message