Kurinchi Blogger Scribbles …


Posts Tagged ‘Bunzip’

Apr 03
2010

How to Compress, Uncompress to .gz, .bz2?

Last updated: April 6th, 2010

Tar (tape archive) does not compress files. They are used for grouping all files in a folder so that it can be transferred across locations. In order to compress the files, you need to use zip, gzip or bzip2 utilities.

gzip, bzip2 are file compression utilities and gunzip, bunzip2 are file uncompression utilities.

bzip2 compresses files to a smaller size compared to gzip, but it takes longer to compress the files. Bzip2 uses Burrows-Wheeler block sorting text compression algorithm (with Huffman coding) and gzip uses Lempel-Ziv coding. so, a file compressed with one utility cannot be uncompressed with the other utility.
(more…)

Apr 21
2009

Gunzip, Bunzip, Unzip with tar

Last updated: April 6th, 2010

Bunzip, Unzip

To bunzip a folder, use the command

$ tar jcvf dump.tar.bz folder/

Transfer the file to the location of your choice. For e.g. /tmp and issue the following command to unzip

[/tmp] $ tar -jxvf dump.tar.bz
(more…)


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict