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

Filipp Lepalaan filipp at mac.com
Sun Oct 3 07:29:56 PDT 2010


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



More information about the X-Unix mailing list