Of where I can download the gunzip program for Windows? I was proving everything with other archives that are not those that generates my script of Backup in Perl... and everything worked to me perfectly. I need that program "gunzip" for Windows to continue proving.
Thanks in advance.
Best Regards.
TELCO
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you mean that the file name is tar.gz', or do you really mean that you want to decompress generic compressed tar archives, such asfoo.tar.gz'.
If it really is just tar.gz', thengunzip tar.gz' will convert it to the uncompressed file,
`tar'.
OTOH if, as is more likely, you really mean generic archives, e.g. foo.tar.gz', the command you need istar xzf foo.tar.gz', to both decompress and extract.
Similarly, FWIW if you have bar.tar.bz2' archives, you would usetar xjf bar.tar.bz2'.
HTH,
Keith.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I Need to extract a generic file " .tar.gz " from my Windows Server by command line script (.bat).
With the WinRAR I can perfectly decompress it in manual form by the graphical application ; but I want some application that allows me to make it from the command line to automate it in script .bat
Thanks in advance.
Best Regards.
TELCO
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now I can extract them without problems but the archives that it extracts to me are with a size of 0 KB :(
The same it happened to me with 7zip for Windows .
With the WinRAR I can perfectly decompress it in manual form by the graphical application .
Which can be the problem ???
Thanks in advance.
Best Regards.
TELCO
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All ,
I need descompress a file "tar.gz" in a Server Windows. They could indicate to me like doing it step by step ??
Thanks in advance.
Best Regards.
TELCO
Dear rmccullough ,
Of where I can download the gunzip program for Windows? I was proving everything with other archives that are not those that generates my script of Backup in Perl... and everything worked to me perfectly. I need that program "gunzip" for Windows to continue proving.
Thanks in advance.
Best Regards.
TELCO
It's part of the gzip package, also available from GnuWin32: <http://gnuwin32.sourceforge.net/packages/gzip.htm>.
Dear All ,
I need descompress a file "tar.gz" in a Server Windows from the command line .
They could indicate to me like doing it step by step ??
Thanks in advance.
Best Regards.
TELCO
Do you mean that the file name is
tar.gz', or do you really mean that you want to decompress generic compressed tar archives, such asfoo.tar.gz'.If it really is just
tar.gz', thengunzip tar.gz' will convert it to the uncompressed file,`tar'.
OTOH if, as is more likely, you really mean generic archives, e.g.
foo.tar.gz', the command you need istar xzf foo.tar.gz', to both decompress and extract.Similarly, FWIW if you have
bar.tar.bz2' archives, you would usetar xjf bar.tar.bz2'.HTH,
Keith.
Dear Keith ,
I Need to extract a generic file " .tar.gz " from my Windows Server by command line script (.bat).
With the WinRAR I can perfectly decompress it in manual form by the graphical application ; but I want some application that allows me to make it from the command line to automate it in script .bat
Thanks in advance.
Best Regards.
TELCO
For some reason the gnuwin32 tar does not support the gunzip and untar in the same process. So you will need to
gunzip file.tar.gz
tar xvf file.tar
If you are running linux you can do both of these in the same step with
tar zxvf file.tar.gz
There is another method that works with older versions of tar where you "gunzip file.tar.gz | tar xv" or something like that.
Dear rmccullough ,
Thanks for you help !!
Now I can extract them without problems but the archives that it extracts to me are with a size of 0 KB :(
The same it happened to me with 7zip for Windows .
With the WinRAR I can perfectly decompress it in manual form by the graphical application .
Which can be the problem ???
Thanks in advance.
Best Regards.
TELCO
email me the file.