Find all files (type f) in the current directory (.), with a minimum depth of 1 (mindepth 1) and execute the command 'grep -l "pattern" {}' on each file found.
find . -type f -mindepth 1 -exec grep -l "pattern" {} \;