bz2 not being extracted , tar has no 'j' option
hi all
i cannot extract any bz2 files cuz whenever i use tar vxjf filename or tar vxf filename it says invalid j option or invalid tar magic if i omit the j option . any clues how to unpack that thing ? thanks |
Re: bz2 not being extracted , tar has no 'j' option
isn't it
Code:
tar -zxvf filename.bz2 |
Re: bz2 not being extracted , tar has no 'j' option
Quote:
N900' tar indeed doesnt have bzip2 compiled in.. However there is the bunzip2 available which you can use to unpack it to a .tar: Code:
bunzip2 filename.tar.bz2 |
Re: bz2 not being extracted , tar has no 'j' option
Quote:
Install tar-gnu and use gtar instead of tar. The BusyBox tar is crippled (as are all other busybox tools) |
Re: bz2 not being extracted , tar has no 'j' option
I usually just do it in 2 steps.
unzip it first then untar the file. |
Re: bz2 not being extracted , tar has no 'j' option
Or do it in one step without an intermediate file:
Code:
bunzip2 -dc foobar.bz2 | tar x |
Re: bz2 not being extracted , tar has no 'j' option
do this:
Code:
tar xvf file.bz2 |
| All times are GMT. The time now is 11:41. |
vBulletin® Version 3.8.8