How To Uncompress Open Tar.gz Files T52

RegisterLogin
How To Uncompress Open Tar.gz Files T52
Post Description: How To Uncompress Open Tar.gz Files T52
Tags: How, To, Uncompress, Open, Tar.gz, Files, T52
This Post Was Posted On Apr 28, 2008 By Webune #2228
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/Command:
tar xvf filename.tar




If the tarball has also been gzipped (compressed), you can use the following command:
Code/Command:
tar xvfz filename.tar.gz




If you only want certain directories from the tarball, do this:
Code/Command:
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/Command:
tar yxf filename.tar.bz2
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Thu Dec 22, 2011 6:18 pm
Powered by: Webune Forums V3