Hi!
rsync's man page says:
Code:
--exclude=PATTERN
This option is a simplified form of the --filter option
that defaults to an exclude rule and does not allow the
full rule-parsing syntax of normal filter rules.
See the FILTER RULES section for detailed information
on this option.
My guess is that is the reason you fail to exclude the .DAV files/directories.
Hint:
Best regards,
HMW
Edit:
Wait a minute! Maybe I misunderstood, if you simply want to exclude a SINGLE DIRECTORY, you can give the pathname to --exclude, something like this:
Code:
$ rsync -avz --exclude 'local/myFiles/.DAV' source/ destination/