DO NOT REPLY [Bug 7951] Option for case insensitivity in filter rules

samba-bugs at samba.org samba-bugs at samba.org
Thu Feb 10 23:23:07 MST 2011


https://bugzilla.samba.org/show_bug.cgi?id=7951





------- Comment #2 from chris at onthe.net.au  2011-02-11 00:23 CST -------
Rather than a command line switch which turns all filename comparisons
case-insensitive (per --ignore-case from ignore-case.diff), or makes filter
rules case-insensitive (per requested --filter-rules-case-insensitive), I'd
prefer filter rules themselves come in case-sensitive and case-insensitive
versions, e.g.:

# Exclude .gif files, but not .GIF
exclude, *.gif
- *.gif

# Exclude .gif and .GIF (and .GiF etc) files
excludei, *.gif
-i *.gif

A use-case for this is on a case-sensitive filesystem where you do care about
case sensitivity in file names (i.e. --ignore-case
isn't appropriate), but you want to filter all case permutations in some cases
but not others (i.e. --filter-rules-case-insensitive would be inappropriate).


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list