On Tue, May 5, 2009 at 2:15 PM, Berler Chanan <[email protected]> wrote:
> Hi All,
>
> I need to write a script that renames the folder the script is running from:
> The idea to rename the current folder to a back_<localtime>, then download a
> zip file and extract it
>
> (the main Idea to replace the current agent with another nagios agent).
>
> Problem: how can I rename the current folder the script is running from ?
> trying rename function fails (like system rename).

Can you show us
Operating system ?
Perl version ?
Error message you get ?
Your code ?

Gabor
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to