#!/bin/sh #script écrit par Gilles Lamiral avril 2004 #transfert les fichiers du P:L:O:U:G (depuis ma machine en local, à partir du répertoire "/PLOUG/") #sur le serveur distant (www.linux-france.org/lug/ploug/) #droits (c'est optionnel) find . -type d -print0 | xargs -0 chmod a+r+x find . -type f -print0 | xargs -0 chmod a+r # transfert rsync -e ssh -alptvzr --safe-links . phautrive@linux-france.org:~/html/lug/ploug/ # synchro publique immédiate (c'est optionnel) ssh -l "phautrive" linux-france.org ~lf/bin/authsync_demand