If you are in the same directory as where your files / folders are placed, then you dont have to specify the file location. i.e. /usr/home/bleh/bleh
This is how to make a .tar.gz from a Folder
tar czf /path/to/output/folder/filename.tar.gz /path/to/folder
i.e if you are in /path/to/output/ and you want to put the file in /path/to/output/ you can use the following command.
tar czf filename.tar.gz folder
This is how to extract a .tar.gz file
gunzip -c /path/to/folder/filename.tar.gz
or like i do…
tar -zxvf /path/to/folder/filename.tar.gz
i.e if you are in /path/to/folder/ You can do the following…
tar -zxvf filename.tar.gz
View a list of all files in a .tar.gz archive
gunzip -c /path/to/folder/filename.tar.gz | tar -tvf -
i.e if you are in /path/to/folder/ You can do the following…
gunzip -c filename.tar.gz | tar -tvf -
Extract a single file from a .tar.gz file
gunzip -c /path/to/folder/filename.tar.gz | tar -xvf - path/within/archive/filename.php
i.e if you are in /path/to/folder/ You can do the following…
gunzip -c filename.tar.gz | tar -xvf - path/within/archive/filename.php
Popularity: 15% [?]
You Should Also Check Out This Post:
- Wordpress Find and Replac String
- How to do an IOS Upgrade via TFTP
- How Reliable is your Hard Disk?
- CCDE Design Track Certification
- Adding Nameservers on Sun Solaris
More Active Posts:
- Make BisonCam work on Windows Vista (92)
- 301 Redirect WordPress Posts To New Domain (16)
- Disabling livecall.exe on Windows Live Messenger (WLM) (14)
- Live Messenger - "Show what I'm listening to" Doesn't work (13)
- Hydrogen Powered Car (7)
- AdobeUpdater.exe CPU Resource Hog (5)
- How to gain ROOT access to a Linux Box within 10 Seconds (4)
- TechForums Update (3)
- Google Maps Directions New York To London (2)
- Perfect Email System (2)



My name is Nish Vamadevan, I live in London. I’m a Network Systems Administrator, and Freelance IT Consultant. I’d like to think of myself and a creative and a resourceful person when it’s come to Computers and Technology.
I have been working in the freelance IT sector for over 6 years and have done various Network Deployments, System Administration and Building, maintaining, managing websites for Small / Medium companies..
Apparently, Microsoft has given all these fatures for free…
Check out the following link for more info.
http://www.microsoft.com/presspass/press/2007/may07/05-06WLHotmailLaunchPR.mspx