how to get perl to untar a tar.gz to a different directory
- From: "Jack" <jack_posemsky@xxxxxxxxx>
- Date: 20 Jul 2006 17:40:42 -0700
Hello
I am running gunzip.exe and tar.exe for DOS...with perl commands,
Gunzip let's me unzip the tar to a different directory as follows:
system("gunzip c:\\temp2\\$filelistarray[$u]");
system("tar -xvf c:\\temp2\\$filelistarray[$u]");
BUT how do I untar AND gunzip out to a different directory ?? If I
cant, what can I do from the command line in DOS ?? WINZIP command
line add on of course doesnt support this capability..I find after
buying..
I realize this is the PERL forum but I figured since I post here a lot
the folks would know this..
Thanks,
Jack
.
- Follow-Ups:
- Re: how to get perl to untar a tar.gz to a different directory
- From: Sherm Pendley
- Re: how to get perl to untar a tar.gz to a different directory
- From: kenslaterpa
- Re: how to get perl to untar a tar.gz to a different directory
- Prev by Date: RXParse
- Next by Date: Re: libstdc++ problem with ExtUtils::MakeMaker
- Previous by thread: RXParse
- Next by thread: Re: how to get perl to untar a tar.gz to a different directory
- Index(es):
Relevant Pages
|