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 ( #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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-07-25 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (364 votes). Check out past polls.