Wikia

How To Wiki

How to use bzip2

1,795pages on
this wiki
Talk0

Bzip2 is a compression format that has better compression than both zip, and gzip. the bzip package consists of the following programs. and is likely already installed on your computer if you have linux, bsd, or any other type of unix based OS.

Bzip2 ProgramsEdit

  • bzip2 [ -cdfkqstvzVL123456789 ] [ filenames ... ]
  • bunzip2 [ -fkvsVL ] [ filenames ... ]
  • bzcat [ -s ] [ filenames ... ]
  • bzip2recover filename


DecompressEdit

  • Execute: bunzip2 or bzip2 -d
    Example: bzip2 -d fileName.bz2
  • the following file types will uncompress to the file names shown below:
    • filename.bz2 becomes filename
    • filename.bz becomes filename
    • filename.tbz2 becomes filename.tar
    • filename.tbz becomes filename.tar
    • anyothername becomes anyothername.out


CompressEdit

  • Execute
    bzip2 -z fileName

DetailsEdit

  • See man bzip2

SourcesEdit

  • man bzip2(1)

See alsoEdit

From HowTo Wiki, a Wikia wiki.