Comment by oguz-ismail
8 hours ago
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
8 hours ago
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
Just noting that I answered why I don't use this approach here https://news.ycombinator.com/item?id=45569313