tar + bunzip2
John Voigt
jvoigt
Mon May 17 11:55:41 PDT 2004
On 11/14/2003 08:53 AM, Roger Oberholtzer wrote:
> 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
Hi,
You can also use the -j option to tar:
# tar -xjvf file.tar.bz2
HTH,
John V.
--
_/- John Voigt - K9GBO -----|- Registered Linux User #38558 --_/
_/- Reclamation Specialist --|- IN Dept of Natural Resources -_/
_/---- jvoigt at reclamation.dnr.state.in.us - (812)665-2207 ----_/
Two wrongs don't make a right, but three lefts do.
More information about the Linux-users
mailing list