How to tar gzip a folder

Need to quickly tar and gzip an entire folder? Try the command below!

tar -cvzpf filename.tar.gz /path/to/folder



2 Responses to “How to tar gzip a folder”

  1. Temp says:

    Thanks!
    But how to ungzip now? :)

  2. Temp says:

    O! I got it!

    To ungzip:
    tar -xvzpf filename.tar.gz

Leave a Reply

You must be logged in to post a comment.