Friday, May 17, 2013

TAR


What is .tar.gz format?

                    Under Unix, tar archives are the most common means of distributing bundles of files, and gzip is the most common compression program.

                    A .tar.gz file is simply a bundle of files packaged with tar, gzip (GNU zip) is a compression utility designed to be a replacement for compress.gzip produces files with a .gz extension

Creating a tar gzip file !



     -z : compress the resulting archive with gzip command
     -c : create an new archive
     -v : verbose output i.e. show progress and file names while extracting files
     -f : use archive file.


How can I extract a tar.gz or .tgz file?


     -z : Uncompress the resulting archive with gzip command.
     -x : Extract to disk from the archive.
     -v : Produce verbose output .
     -f : data.tar.gz : Read the archive from the specified file called data.tar.gz.
   
  
More information please use man tar command


   

No comments:

Post a Comment