On Tue, Nov 25, 2003 at 03:53:10AM -0600, daniel wrote:
> Thank you for clarifying the issue with regard to the fact that the
> exclude pattern is relative to the destination path.

No, it's relative to the root of the transfer -- i.e. the names that the
two sides have in common.

> The fact that:
> rsync -av --exclude=/foo/test/dir1/ /foo/test/ serv2:/foo/   
> does not work seems wrong.

It is not wrong as long as you want to exclude /foo/test/foo/test/dir1
from the transfer (since that's what you specified).

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to