is there a way to make rsync include/exclude options case insensitive?

Wayne Davison wayned at
Tue Jan 21 20:30:01 EST 2003

On Tue, Jan 21, 2003 at 08:12:31PM +0000, Faheem Mitha wrote:
> What I mean is that --exclude
> "*.pdf" would exclude "*.PdF" and "*.pdF" as well.

You currently have to do this:


The fnmatch() function that rsync currently uses for its pattern
matching only has a case-folding option if it is the GNU version,
and there's no way to ask rsync to set this flag at the moment.


More information about the rsync mailing list