bmatzelle / gow

Unix command line utilities installer for Windows.
https://github.com/bmatzelle/gow/wiki
6.58k stars 365 forks source link

Missing gunzip #166

Open ianchanning opened 9 years ago

ianchanning commented 9 years ago

gunzip seems to have been removed from the list. Back in 2012 according to this MSDN blog post gunzip was included.

Is there any reason why it was removed?

I realise that you can use gzip -d but it would be nice to have the same commands.

bytehead- commented 9 years ago

The easiest way to fix this would be for 64-bit systems is to simply:

cd "c:\Program Files (x86)\Gow\bin\" mklink gunzip.exe gunzip.exe

or on 32-bit systems:

cd "c:\Program Files\Gow\bin\" mklink gunzip.exe gunzip.exe

Then gunzip would work like it should.

ianchanning commented 9 years ago

I'm not sure I follow. Do you mean mklink gunzip.exe gzip.exe?

I had seen from the gzip.org website:

copy gzip.exe gunzip.exe

But when I tried that (or mklink), using the Gow gzip.exe it didn't work. Nor do I really see how that would work. However the windows downloads aren't available from the gzip.org website so I can't test out what they suggest.

When I say it doesn't work, I get the following:

gunzip my_file.sql.gz
gunzip: my_file.sql.gz already has .gz suffix -- unchanged

The best I can think of is a gunzip.bat file that calls gzip.exe -d with any other arguments appended