Exclude again

Andrew Hodgson andrew at hodgsonfamily.org
Thu Jun 29 09:11:41 GMT 2006


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 /cygdrive/d/backup

The exclude file contains:

- /bin
- /endofdaybin

I want the directories above to be excluded from the job completely, however, they still seem to be copied.

Do I have a problem with either the exclude or rsync syntax?

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list