[X-Unix] How to *quietly* unarchive a .bz2 file?

Richard Hartman seasoft at west.net
Sun Oct 3 07:34:59 PDT 2010


On Oct 3, 10, at 07:29, Filipp Lepalaan wrote:

> On 3.10.2010, at 17.15, Jerry Krinock wrote:
>
>> How can I quietly unarchive a .bz2 file?
>
>
> bzcat file.log.bz2 > file.log
>
> But if you're just grepping them, you can pipe them directly:
> bzcat file.log.bz2 | grep something
>
> or
> bzcat file.log.bz2 | less
>
>
> At least on 10.6.
>
>
> HTH,
> -filipp
>

Also, bunzip2 on 10.5 & 10.6 works fine

$ which bunzip2
/sw/bin/bunzip2


Richard


More information about the X-Unix mailing list