syncAll.sh 139 Bytes
Newer Older
Juon Kawakami's avatar
init  
Juon Kawakami committed
1
2
3
4
5
6
7
#!/bin/bash
. $(dirname $0)/config.sh

for HOST in $HOSTS; do
    echo "$HOST: "
    rsync -rcLv $RSYNC_OPTS $1 $REMOTE_USER@$HOST:$2
done