> Does anybody know how to broadcast a rsync command?
> 
> I've several machines conected to a network and I would like to copy several
> file to them.Although the number of machines is small an I can write a
> script, it can change easily (more machines can be added or some can be
> retired).
> I have tried to copy to the broadcast addres, but it seems not to work.
> 
> Any hint?

        rsync -a /dir/ host1:/dir/ &
        rsync -a /dir/ host2:/dir/ &
        rsync -a /dir/ host3:/dir/ &
        rsync -a /dir/ host4:/dir/ &
        rsync -a /dir/ host5:/dir/ &

--
Koji Kishi

Reply via email to