MBOXcheck is a tool to scan lot of MBOX files for new, seen, read and deleted
mail. It is quite useful in scripting.

You can for example use it by writing a script like this:

----foocheck---
#!/bin/sh
echo "Checking for foo"
mboxcheck /home/dif/mail/bar/foo/*
---------------
