CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
calling arbitrary shell commands across machines?



Aug 2, 2000, 10:23 PM

Post #1 of 1 (5012 views)
calling arbitrary shell commands across machines? Can't Post

Hiya everybody...

(thanks for the help on the last one, it works)

now i'm developing a script that will look at certain files, check their dates, and if too old, tar/gzip them and send 'em to an archive directory.

of course, to make things fun, this script needs to do this across several machines.

i've got the whole:
system("/bin/rm -rf $dir");
methodology down, but is there any way to redirect those commands to antoher machine?

i can use ssh locally to move the files around, both back and forth, but i can't figure out how to actually DO things on another machine.

there's no NFS, but ssh/scp is available.



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives