Our email system does a backup each day of all email sent and received, and stores it in a directory with the date stamp, so:
mail/2010-10-10/2010-10-10.zip
mail/2010-10-11/2010-10-11.zip
mail/2010-10-12/2010-10-12.zip
etc
I now have to provide all emails from
jsmith@whatver.com from 2010-10-01 to 2010-12-31. Of course, this is impossible to do until I unzip everything!
There has got to be a way to automate this! I am thinking some sort of bash script would walk through all the directories unzipping as it went, then I could use egrep or something for what i am looking for.
Appreciate any help!