I occasionally find myself using Nautilus instead of dired to search for files and would like to change that. When looking for a file, I often don't know the capitalization of its name which is why I like case-insensitive searches. Additionally, I almost always search for something in the middle of the file's name.
I think I can likely (i.e. p > .4) figure out myself how to write a function which always gives the same directory to find-name-dired
and adds stars to both ends of its argument (so I can search for any substring).
However, I do not know how tell find-name-dired
to tell find
to ignore case. Basically I want find-name-dired
to pass -iname
to find
instead of -name
.
My question isn't necessarily about making find-name-dired
do that. If there is a better way to achieve my goal, please tell me about it. It doesn't need to involve find-name-dired
.