On Linux, an rsync command and exclude_file contents of:
# cat exclude_file
# rsync -ra --delete --delete-excluded --exclude-from=exclude_file /etc server::module
properly excludes /etc/alsa but not any file within /etc's directories that is named alsa.
On Windows I don't seem to be able to reliably emulate this:
/cygdrive/d/System Volume Information
C:\Program Files (x86)\cwRsync\bin>rsync -ra --delete --delete-excluded --exclude-from=exclude_file /cygdrive/d server::module
fails to omit these, the only way I get this to work is:
*/System Volume Information
Which obviously might exclude nested objects of the same name as its not anchored. Anyone know if this can be corrected?