Compress a Whole Linux or UNIX Directory


i found this in the internet.
This Tutorial compress a whole linux or UNIX Directory.

You need to use tar command as follows (syntax of tar command):

tar -zcvf archive-name.tar.gz directory-name

Where,

-z: Compress archive using gzip program
-c: Create archive
-v: Verbose i.e display progress while creating archive
-f: Archive File name

sumber : http://www.cyberciti.biz/faq/how-do-i-compress-a-whole-linux-or-unix-directory/

thanks for your sharing cyberciti….


Leave a Reply