Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Removing files from remote server

by Bindo (Acolyte)
on Apr 22, 2013 at 13:02 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found