Aug 2, 2000, 10:23 PM
Post #1 of 1
calling arbitrary shell commands across machines?
(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.