← cd ~/posts
Mar 20, 2014 #compression

Gzip, Bzip, Zip

# features

Compression utilities (gzip, bzip2, zip), plus file rollers like tar.gz — the ability to represent many files as one.

# gzip

gzip compress files
gunzip decompress gzip files

# bzip2

bzip2 tends to outperform gzip on larger files
bunzip2 decompression (or bzip2 -d)

# zip & unzip

zip filename.zip path/ general usage — note the destination (resultant zip) is specified before the source, unlike gzip and bzip2
unzip decompress
← back to all posts