rsync bug

Wayne Davison wayned at samba.org
Wed Nov 17 17:22:07 GMT 2004


On Sun, Nov 14, 2004 at 04:49:07AM -0200, michael wrote:
> I discovered that if etc/ is in an exclude file ,anything with etc will  
> also be excluded,e.g. /usr/etc , /usr/local/etc ,and so on.

Which is to be expected, since that's what excluding "etc/" means:  to
exclude a directory named "etc" at any level of the hierarchy.  You can
read the EXCLUDE PATTERNS section of the docs here:

    http://rsync.samba.org/ftp/rsync/rsync.html

Perhaps you meant to anchor the name by using a leading '/'?

..wayne..


More information about the rsync mailing list