Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 avoiding work at the Monastery: (13)
As of 2015-08-27 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (331 votes), past polls