Is there a way to prevent wildcard expansion on the find
command so that the following would work?
find . -iname "foo [bar]"
As pointed out here, I tried running set -f
, set -o noglob
and setopt noglob
just before find
but it didn't work.
It's a bash
script and I'm using Ubuntu 10.04.
I know I could just escape the wildcard characters but I fear I might leave one out.