I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
I believe it's: find . -iname pattern
From man find:
-iname pattern
Like -name, but the match is case insensitive.