Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

GZip

How do i uncompress a dump file using gzip?

Thanks.

0
crishna1
Asked:
crishna1
1 Solution
 
NashvilleGuitarPickerCommented:
If you are using the regular command line gzip, then you would use:

gzip -d filename.gz


If this is a .tar.gz, .tar.Z, .tgz or .taz file, then you should use tar instead.  The tar syntax is:

tar -xvf filename.tar.gz



I hope this helps.  If not, what OS are you using, and what is the full extension of the file?

- Will
0
 
crishna1Author Commented:
i am in the dos prompt and typed "gzip -d filename.gz" ..gave me an error , gzip is not recognizes internal/external error.

Thanks.
0
 
riotzCommented:
install winrar
you can get it at www.rarlab.com
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
knollbertCommented:
0
 
knollbertCommented:
Make sure its location is in the path environmental variable
0
 
WalkaboutTiggerCommented:
Are you on a Windows box or a Linux box or some other OS?
0
 
NashvilleGuitarPickerCommented:
My suggestion assumed that you already had the command line version of gzip.  It appears that you don't have it, or that it is not in your path.  You can get it at one of the links listed above.  I will assume that you are running a DOS prompt from within Windows.  Personally, I like the open source 7-Zip pretty well if you want a GUI-based program (http://www.7-zip.org/).  It's easier to use for many applications.  Also, I think freeware ZipCentral handles those, and it behaves more like WinZip.  WinZip handles about everything, if you want to purchase a utility.  Another nice thing about the GUI based tools is that they automatically pick the right extraction method, so you don't have to have tar and gzip.

If you have already installed gzip, then you may need to specify the path to gzip before running it.  For example:

c:\mytools\gzip c:\downloads\somegzipfile.gz


- Will
0
 
turn123Commented:
Hi crishna1 :-),
Since this question is starting to get old could you please give us an update on the status of this question?
See:  http://www.experts-exchange.com/help.jsp#hi51 Thank you, turn123's friendly update request script.
Offtopic comments about this script to http://www.experts-exchange.com/Applications/Q_21188389.html please :-).
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now