Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2008 14:58:18 -0400
From:      Mike Jeays <mike.jeays@rogers.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: gzipping multiple files w/o tarring
Message-ID:  <200810101458.18581.mike.jeays@rogers.com>
In-Reply-To: <BAY117-W12F038ED445086170210BE9B350@phx.gbl>
References:  <BAY117-W12F038ED445086170210BE9B350@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On October 10, 2008 02:49:44 pm Joe Tseng wrote:
> I'm sure this is easy but googling hasn't gotten me anywhere yet...  I wa=
nt
> to compress all the files in my directory that don't already have a .gz
> extension.  I want them to be individual compressed files, not part of a
> single .tar.gz file.  Can anyone point me to where I can find how to do
> this?
>
> tia,
>
>  - Joe
> _________________________________________________________________
> Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jam=
ie.
> http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns=
!5
>50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008______________=
____
>_____________________________ freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

"gzip *" will do it.  It leaves out files that already have the .gz extensi=
on.
"gunzip *" will put them back the way they were.

=2D-=20
Mike Jeays
http://www.jeays.ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810101458.18581.mike.jeays>