Tar

Last modified: 
Monday, December 7th, 2015

Make an archive of a folder and gzip the output

tar -zcvf FileOut.tar.gz Folder

Expand a gzipped tar archive

tar -zxf compressed.tar.gz

Expand a gzipped tar archive to a different directory

tar -zxf compressed.tar.gz -C /var/www/output_dir/


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.