views:

307

answers:

2

As the title says - anyone know of a method to add tar/gzip to the command line in Windows? I've installed Cygwin - but don't know if I have to add something to the PATH env variable to get tar as a cmd option

A: 

Install UnxUtils - it's a set of GNU utilities ported to Windows, sort of like Cygwin but they also work outside the Cygwin environment.

Greg Hewgill
I saw that, it was my next port of call - in the end I realised I just had to add the Cygwin bin directory to the PATH variable. Problem solved - thanks for the rapid response tho!
sunwukung
the problem is getting zip to run from Phing - it doesn't seem to pick it up, despite the bin being available to the cmd
sunwukung
Another option is GnuWin32: http://gnuwin32.sourceforge.net/
James Sulak
Does Phing pick this up?
sunwukung
Sorry, I'm unfamiliar with Phing.
Greg Hewgill
+2  A: 

The method I've used to solve this is to install Cygwin then place the path to the bin directory in the PATH variable.

sunwukung