Comment Comment by oguz-ismail find . -name '.*?' -prune -o -name '*.foo' -exec grep bar /dev/null {} + This is the POSIX way. You'd probably put it in a function in .bashrc parent oguz-ismail 1 year ago