Create a .tar.gz archive

November 12, 2011

this means:
-c = create new archive
-v = be verbose
-z = compress using gzip
-f = filename to create for the new archive

for the directory dont to “directory/*” just to “directory” with no slash

filenames should end in “.tar.gz” as they are tarr’ed then zipped

Use this to untar: