Posts tagged with “unix

The Gzip Basics

Gzip is data compression software used to compress a file into an archive, as well as expand an already-compressed archive back into a file. One common use for gzip is to compress a tarball. [One could use Zip both to collapse and compress a directory, instead of tar / gzip, but the compression isn’t as […]

The Tar basics

Tar is a compression utility used to generate a single archive, known as a “tarball”, out of multiple files and subdirectories. It can also be used, inversely, to extract these same subdirectories and files out of the archive. I want to create a tarball: tar cvf [archive-name].tar [source-directory] Here’s what the options mean: c = […]