Tar Quickref

Create a gzipped tar archive:
tar -czvf /path/to/file.tar.gz ./stuff-to-archive

List contents of a gzipped tar archive:
tar -ztvf file.tar.gz

Extract contents of a gzipped tar archive:
tar -zxvf file.tar.gz

Leave a Reply

Your email address will not be published. Required fields are marked *