=== Create tar archive === tar -czvpf c = create z = gzip v = verbose p = permissions f = file NB! to create archive without the leading path change to the source directory before running the tar command. Alternatively use the -C //folder// switch. === extract tar archive === tar -xzvpf x = extract z = gzip v = verbose p = permissions f = file === extract tar archive to specific folder === tar -C -xzvpf C = path x = create z = gzip v = verbose p = permissions f = file