Written by James McDonald

March 2, 2010

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 

2 Comments

    • james

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

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…