Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Tar and untar

Compress folder Test/ to Test.tar.gz

tar czfv Test.tar.gz Test/
czfv = ‘Compress Zip File Verbose’
If you want bzip files, use ‘j’ instead of ‘z’.

Uncompress Test.tar.gz to Folder Test/

tar -xzf Test.tar.gz
x = ‘eXtract’
Again, if you want bzip files, use ‘j’ instead of ‘z’.



This post first appeared on Linux, please read the originial post: here

Share the post

Tar and untar

×

Subscribe to Linux

Get updates delivered right to your inbox!

Thank you for your subscription

×