Hi ,

I already tested with /vobstg.tar in the gzip command but still it's 
hanging and i am executing this perl script from / partition only.

Main thing is that it's creating /vobstg.tar.gz file but not coming to 
shell prompt or not executing next command 

plz let me know any other option.

Regards
Irfan Sayed

 



"Chas Owens" <[EMAIL PROTECTED]> 
02/24/2006 11:19 PM

To
Irfan J Sayed/India/[EMAIL PROTECTED]
cc
beginners@perl.org
Subject
Re: tar command






On 2/24/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Thanks for mail
>
> I am using following script for backup of clearcase data. the problem is 
that it executes upto the tar command but when it comes to the zip command 
it simply hangs.
>
> could u plz help me out
>
> regards
> irfan.
>
snip
>
> # Taring the vob storage directory
>
> system ("tar -cpvf /vobstg.tar /vobstg");
>
> # Zip the tar file
>
> system ("gzip vobstg.tar");
>
snip

You refer to the tar file as /vobstg.tar in the tar command, but you
refer to it is vobstg.tar in the gzip command.  This might be an issue
if your current working directory is not /.  Otherwise, I don't see
any glaring errors.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



Reply via email to