Your command and your exclude file are both correct. I set up a
similar scenario of pulling the root directory of a module with an
exclude file, and the excludes worked correctly for me; I don't know
why they aren't working for you. Perhaps you could upgrade rsync if
you aren't already using 2.6
Title: Exclude again
Hi,
I can't get the exclude in my Rsync statements to work quite right.
I have:
rsync -avz --delete-after --exclude-from=/cygdrive/d/exclude.job 10.1.1.11::ddrive /cygdrive/d/backup
The exclude file contains:
- /bin
- /endofdaybin
I want the directories above