in reply to File Search
But assuming you know the directories to search by some divine means, no need for Perl. Something like the following will do:
$ find dir1 dir2 dir2 -name '*.out' \ '!' -exec grep -q error {} ';' \ -exec sh -c 'echo "Whatever" | mail you@there.fo +o' ';'
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File Search
by agentv (Friar) on Oct 23, 2003 at 22:24 UTC |