SUMMARY: Update - Checking for directory on remote machine.

From: Vassilo Walluschnig (vassilo@mj.org.za)
Date: Mon Sep 01 1997 - 02:45:30 CDT


Hi all,

I had a problem a while ago with checking for a directory on
a remote machine. I wanted to do this for a script I was
writting to install software on multiple remote machines.

Since my last summary I have gotten a couple more suggestions.
Most of them where all suggesting the use of rsh with an
if statement.

However, Mariel Feder unix.support@meralco.com.ph,
suggested using rdist.

>Regarding the script you are writing, I would suggest you to
>take a look at the rdist command, which is already tested
>and does exactly what you are asking for.
>You can customize it specifying what files/directories to copy,
>to where in each host, to which host, actions to take in any case,
>like notifying or something like that.

>The easiest way to use it is:

>rdist -f /mydir/distfile

>distfile is the specification file. A very simple one could be:

>(/mydir/dirtocopy) -> (host1 host2)
>install /mydir2/dirtarget;
>notify john@host3;

>There are many other options stated in the man rdist page.

Regards,
  Vassilo Walluschnig

===============================================================
=========== ==== === ======= Vassilo Walluschnig ==
========= === ==== === === ====== Planning Information ==
======== ========= === ============ Urban Developement ==
======= == === ===== ========== Greater Johannesburg ==
====== ==== === ======== ========= Metropolitan Council ==
====== === === === === ========== 27 11 407-6125 ==
======= == === ============ vassilo@mj.org.za ==
===============================================================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:01 CDT