CYGWIN Rsync exclude/include problem

Wayne Davison wayned at users.sourceforge.net
Sat Mar 22 08:19:05 EST 2003


On Fri, Mar 21, 2003 at 12:22:15PM -0500, Mike Lavender wrote:
> + /Databases/    #Include /Databases & subfolders

Do you realize that this is specifying a file whose name starts with 4
spaces and contains a '#' character in it?  If you want to put comments
into your include/exclude file, they must occupy the whole line and the
comment character (either '#' or ';') must come in the very first column
of the file, like this:

# Include /Databases & subfolders
+ /Databases/

However, I'd reserve comments for things that don't have such an obvious
meaning.

..wayne..


More information about the rsync mailing list