Wednesday, August 4, 2010

tar, gzip, zip, bzip2

If want to make a folder into a file, just tar
tar -cvf XXX.tar XXX (create)
tar -xcf XXX.tar (unpack)

if want to compress, then gzip, zip, or bzip2 a tar file
command to expand is gunzip, unzip, and bunzip2