How To Uncompress Open tar.gz files

RegisterLogin
How To Uncompress Open tar.gz files
Post Description: How To Uncompress Open tar.gz files
Tags: How, To, Uncompress, Open, tar.gz, files
This Post Was Posted On Feb 29, 2008 By webmaster #464
tar is a compression technology used to create a Tape ARchive. The resulting file is known as a tarball.

If you have Window, this is the same as a Zip file. You use winzip to compress and uncompress .zip files.So its the same idea. To uncompress the files (or to get the files out of a tarball), you can use the following commands:


     Code:
tar xvf filename.tar



If the tarball has also been gzipped (compressed), you can use the following command:

     Code:
tar xvfz filename.tar.gz



If you only want certain directories from the tarball, do this:

     Code:
tar xvzf filename.tar.gz */dir.you.want/*



If you have a .tar.bz2 file, then you need bzip2 installed (/usr/ports/archivers/bzip2), and you issue this command:

     Code:
tar yxf filename.tar.bz2
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
rajiv
#554 1
how to open a.src.tar.gz file ..?
Jan 20, 2008 Reply Report abuse
stu
#553 2
Just wondering if you knew of a program to uncompress .tar for Macs.cant find one anywhere.thanks mate
Apr 03, 2007 Reply Report abuse
©2011 Webune Forums - Tue Dec 20, 2011 2:38 am
Powered by: Webune Forums V3