Re: exclueding two directories

2005-09-13 Thread Wayne Davison
On Tue, Sep 13, 2005 at 08:01:10PM -, redlotus72 wrote: > rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE [...] > I need to exclue the following: > $HOSTTOBACKUP/Dir1 > and > $HOSTTOBACKUP/Dir2 That all depends on what is in $SOURCE. If its just a module name, then --exclude='/Dir[12]/' wil

exclueding two directories

2005-09-13 Thread redlotus72
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? -- To unsubscribe or change options: https://lists.samba.org/mailman/