The file types differ by magic number, bzip2 uses BZh, the original bzip uses BZ0. The latter includes a link to the original bzip source, which is not compatible with bzip2 because the it would require patent encumbered code to de-compress files compressed with the original bzip. If you're interested in the history of bzip vs bzip2 and the technical differences between the two, there's good discussion on the Wikipedia Bzip2 page as well as the archive of the bzip2 home page. Unless the file that you're unpacking is older than, say 1998 (bzip2 was released in 1996), I'm guessing that you're actually looking at a bz2 file. Rather than doing this: tar cf archive.tar /path/to/files & bzip2 archive.tar Eeasily extract TGZ, TBZ, TAR.GZ, or TAR.BZ2 file (untar) TAR format, very common on Linux systems and other Unix derivates (as Android) provides only archiving features (consolidate multiple input file and their metadata in a single output archive), without providing compression, so it is usually chained with Gzip, BZip2 or other forms of. Also, keep in mind that the original file name was probably generated by hand, something like this: tar jcf /path/to/files out appended.īased on this, I'm guessing that '.bz' is considered a valid suffix for bzip2 compressed files. Name of the original file, and uses the original name with. As this is a Tar compressed file, You also need to use -x command line option. tbz, bzip2 complains that it cannot guess the You can use Linux tar command with option -j to extract bz2 file. According to the man pages for bzip2 If the file does not end in one of the recognised endings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |