2 ms·
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
by oguz-ismail 1y 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
- robenkleene 1y agoJust noting that I answered why I don't use this approach here https://news.ycombinator.com/item?id=45569313 https://news.ycombinator.com/item?id=45569313