Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 20:16:08 -0500
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        Jack Wenger <jwenger@acw-web.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Compressing Tar
Message-ID:  <19980811201608.10775@futuresouth.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 Tue, Aug 11, 1998 at 06:44:35PM -0500, Jack Wenger woke me up to tell me:
> 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?

Well, you can tar -zcvf to gzip it.
To compress, you'd have to do something like...
tar -cvf - -C * . | compress <blah>
However, looking through the compress man page, I can't see any
indication of whether compress will accept stdin as source.


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|       FreeBSD; the way computers were meant to be       |
* "The only reason I'm burning my candle at both ends, is *
| that I haven't figured out how to light the middle yet."|
*    fullermd@futuresouth.com      :-}  MAtthew Fuller    *
|      http://keystone.westminster.edu/~fullermd          |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


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?19980811201608.10775>