Search This Blog

Tuesday, October 6, 2009

Compress directories using tar and gzip

Compress folder Test/ to Test.tar.gz
tar czfv Test.tar.gz Test/


Uncompress Test.tar.gz to folder Test/

tar -xzf Test.tar.gz