Jump to content

bzip2 trailing garbage?


Recommended Posts

I've searched and cannot find an answer to this. I created a *.tar.bz2 file this way:

 

[root@localhost omar]# tar icjf - linux_hpna2_0_v2_34_0_2 > linux_hpna2_0_v2_34_0_2.tar.bz2

 

and when I uncompress it this way:

 

tar -jvxf linux_hpna2_0_v2_34_0_2.tar.bz2

 

it uncompresses fine, except I get this error:

 

bzip2: (stdin): trailing garbage after EOF ignored

 

What am I doing wrong in the compression part? Other *.tar.bz2 or *.tar.gz files that I download and decompress don't give me that error, so I know it's my method of compressing (or saving maybe) the file originally. Any ideas? TIA (I've done it with and without the i option...same error)

 

Edit: Never mind. Doing it this way works fine:

 

tar icjf linux_hpna2_0_v2_34_0_2.tar.bz2 linux_hpna2_0_v2_34_0_2

Link to comment
Share on other sites

Edit: Never mind. Doing it this way works fine:

 

tar icjf linux_hpna2_0_v2_34_0_2.tar.bz2 linux_hpna2_0_v2_34_0_2

 

:mystilol:

 

I like solving problems by myself.. guess it's the same for ya .. :lol:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...