Here is a self note to how to tar ball and untar ball a file.


To compress a directory use the following syntax:
# tar -zcvf archive_name.tar.gz directory_to_compress

To decompress an archive use the following syntax:
# tar -zxvf archive_name.tar.gz

Categories: Linux

0 Comments

What do you think?