Y
Hacker News
new
|
ask
|
show
|
jobs
by
oguz-ismail
247 days 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
1 comments
robenkleene
247 days ago
Just noting that I answered why I don't use this approach here
https://news.ycombinator.com/item?id=45569313
link