Skip to content

How do I match globs case insensitively? #2967

Discussion options

You must be logged in to vote

The -i/--ignore-case flag only applies to searching the contents of files. For what you're doing, you want --glob-case-insensitive. By default, globs are matched case sensitively.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Siddhesh-Agarwal
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2966 on January 08, 2025 16:52.