3 ms·
Why not just run a recursive grep? That would save having to invoke grep on every single file found. findit() { grep -iHR $1 . } Alternately,
by knome 13y ago
Why not just run a recursive grep? That would save having to invoke grep on every single file found.
findit() {
grep -iHR $1 .
}
Alternately, you could use the '+' variant of -exec in order to batch files together to be processed together.
- msluyter 13y agoCool, I wasn't aware of a -R flag in grep for some reason. I need to go back and re-read the man pages...