From owner-freebsd-isp Tue Aug 11 19:27:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28160 for freebsd-isp-outgoing; Tue, 11 Aug 1998 19:27:35 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA28145 for ; Tue, 11 Aug 1998 19:27:32 -0700 (PDT) (envelope-from jack@germanium.xtalwind.net) Received: from localhost (jack@localhost) by germanium.xtalwind.net (8.9.1/8.9.1) with SMTP id WAA07724; Tue, 11 Aug 1998 22:26:42 -0400 (EDT) Date: Tue, 11 Aug 1998 22:26:42 -0400 (EDT) From: jack To: Greg Lehey cc: freebsd-isp@FreeBSD.ORG Subject: Re: Compressing Tar In-Reply-To: <19980812103302.W22754@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 12 Aug 1998, Greg Lehey wrote: > 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 Why not just tar cZvf fred.tar.z . man tar (the "correct" response to the original question, IMO) reports: -Z --compress --uncompress Filter the archive through compress(1). under OPTIONS -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message