I have the following module defined in rsyncd.conf: [updates] list = no hosts allow = foo path = /ext/updates exclude = incoming
>From host "foo", if I run: $ rsync -arHvn --delete bar::foo /ext/updates then the /ext/updates/*/incoming directory will be deleted. However, If I use: $ rsync -arHvn --delete --exclude=incoming bar::foo /ext/updates then /ext/updates/*/incoming is not deleted. This is what I want. According to the man page for rsyncd.conf: The "exclude" option allows you to specify a space separated list of patterns to add to the exclude list. This is equivalent to the client specifying these patterns with the --exclude option except that the exclude list is not passed to the client and thus only apply on the server. Does the last part of the last sentence infer the deletion behavior above? I'm using rsync 2.5.2 on FreeBSD 4.3-STABLE. -- albert chin ([EMAIL PROTECTED]) -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html