John Van Essen wrote:

rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home

Since there is no trailing slash on '/home/user', the sender root is
at '/home/', so the exclude pattern is correct in that case.

But the receiver path is '/home', so the root for building the
exclude path is '/', and hence the exclude does not match on the
receiver since it's not looking under /home.

I'd suggest appending a '/' to '[EMAIL PROTECTED]:/home'.

Makes sense - I'll give that a shot as well.


Thanks,
...andrew

--
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