unzipping files using bz2
Good afternoon,
I am trying to unzip and install java onto my system. I am unfamiliar with how to properly unzip bz2 files. Any help would be appreciated! Bruce |
To unzip a file that is only compressed with bz2 use
bunzip2 filename.bz2 to unzip things thar are compressed with .tar.bz2 use tar -xvjpf filename.tar.bz2 |
It worked!
Hey Darin,
Thanks a lot, this did the trick! bp |
I have a file docs.tar.gz2. When I try bunzip2 docs.tar.gz2 or tar -xvjpf docs.tar.gz2, I am informed that the file isn't a bz2 file and that child status is (2). I don't remember the command I was told to use to compress the file in the first place (a couple of months ago). What else can I try?
|
I don't know if this happened to you, but a certain browser will do you the favor of unzipping a file during a download without renaming it. Try using the file command to check the file type.
|
wrong unzip
Good afternoon JD,
You should use gunzip not bunzip. Notice your file name - docs.tar.gz2 because the file ends with gz2, this should tip you off to use gunzip. if it were bz2, then bunzip. I hope this clears things up for you. Good luck! B64 |
The gz2 was a mistake in transcribing (it actually was bz2), but I'll make a note of that for future reference. Stickman's suggestion that Mozilla would probably unzip it worked. Thanks, Bruce.
|
All times are GMT -5. The time now is 03:15 AM. |