Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Removing files from remote server

by Bindo (Acolyte)
on Apr 22, 2013 at 13:02 UTC ( #1029862=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @LIBS = ("lib1", "lib2", "lib3");
    my $MACHINES_PATH = $ENV{'SYSTEM_HOME'};
    my $LIBS_PATH = $MACHINES_PATH."/testlib";
    ...
            system("rm -rf $lib");
        }
        }
    
  2. or download this
    xx@sbi-126:/x02/abc>./filedel.pl 
    bash: -c: line 0: syntax error near unexpected token `libcudart.so.4.1
    +.28'
    bash: -c: line 0: `ConnectionAttempts=5 ConnectTimeout=5 cd /x02/abc/t
    +estlib && files_DEL(lib1 lib2 lib3)'
    ssh: Could not resolve hostname : Name or service not known
    xx@sbi-126:/x02/abc>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1029862]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-09-03 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls