Skip to content


Opening a tar.gz file on Windows

Running tar for Windows, using this command:

c:\Program Files\GnuWin32\bin\tar.exe -xzvf filename.tar.gz

gives the following error

c:\Program Files\GnuWin32\bin\tar.exe: Cannot fork: Function not implemented
c:\Program Files\GnuWin32\bin\tar.exe: Error is not recoverable: exiting now

On windows it doesn’t seem to call gzip automatically.

Therefore:
You need to install GZIP for Windows

And then run a command similar to what follows:

"c:\Program Files\GnuWin32\bin\gzip.exe" -d -c "filename.tar.gz" | "c:\Program Files\GnuWin32\bin\tar.exe" -x

Posted in IT Tips.


2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Brad Rushworth says

    Another choice James is 7-Zip. It’s open-source also but has an easy to use interface.

    http://www.7-zip.org/

    • james says

      Doh,
      I forget that Windows has utilities. I tend to look around for the ported linux stuff because I’m familiar with it.



Some HTML is OK

or, reply to this post via trackback.



Page optimized by WP Minify WordPress Plugin