Are you looking for my non-technical blog?

This is now my technical-only blog, my non-technical blog is here.

30 June 2005


Many people keep on asking how to archive and compress a folder on a UNIX/Linux system.

Suppose you have a directory /usr/myDir and want to compress it to myDir.tar.gz
# tar –cvf myDir.tar /usr/myDir
# gzip myDir.tar

And to unzip and untar a ".tar.gz" file type
# tar -zxvf myDir.tar.gz