Date: Wed, 12 Aug 1998 10:33:02 +0930 From: Greg Lehey <grog@lemis.com> To: Jack Wenger <jwenger@acw-web.com>, freebsd-isp@FreeBSD.ORG Subject: Re: Compressing Tar Message-ID: <19980812103302.W22754@freebie.lemis.com> In-Reply-To: <Pine.BSF.3.96.980811184204.16258A-100000@br01.acw-web.com>; from Jack Wenger on Tue, Aug 11, 1998 at 06:44:35PM -0500 References: <Pine.BSF.3.96.980811184204.16258A-100000@br01.acw-web.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 11 August 1998 at 18:44:35 -0500, Jack Wenger wrote: > Simple question, how can I compress a tarball as it's made, using > compress? > Something like: tar -cvf fred.tar * | compress * fred.tar.z, or something > like that? tar czvf fred.tar.gz * This will give you gzip, of course. If you really *insist* on using compress, the syntax is: tar cvf - . | compress > fred.tar.z Use . as the file name, not *, or you'll miss files starting with a .. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980812103302.W22754>