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
In reply to Re: File Search
by Abigail-II
in thread File Search
by mikevanhoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |