Find all flies under current directory excluding *.png files and print the file paths (with match count) that match the case insensitive regex 'foo=' in their contents
find . -not -name '*.png' -o -type f -print | xargs grep -icl "foo="