exclueding two directories

redlotus72 redlotus72 at yahoo.com
Tue Sep 13 20:01:10 GMT 2005


Hi.

I am taking backup in following :

rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE 
$DR_BACKUP_DIR/hourly.0 >$tempfile 2>&1


I need to exclue the following:

$HOSTTOBACKUP/Dir1
and
$HOSTTOBACKUP/Dir2

how can I exclude?





More information about the rsync mailing list