tar + bunzip2

Roger Oberholtzer roger
Mon May 17 11:55:41 PDT 2004


On Fri, 14 Nov 2003 21:45:58 +0800
"M.W. Chang" <mwchang at i-cable.com> wrote:

> 
> how to decompress file.tar.bz2 with tar and bunzip2?
> 
> `bunzip2 -dkc file.tar.bz2 | tar xvf` didn't work.

So close:


	bzcat file.tar.bz2 | tar xf -

The '-' to tar means stdin/stdout


> 
> -- 
>    .~.    Might, Courage, Vision. In Linux We Trust.
>   / v \   http://www.linux-sxs.org
> /( _ )\  Linux 2.4.22-xfs
>    ^ ^    9:44pm up 4 days, 10:37, 1 user, load average: 1.02, 1.07, 1.06
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
> 


-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list