grep "email@address" * | cut -d: -f1 | xargs grep "content"
Result: in all the spam emails that contain the email address, get the filename and in those files, look for "content"
ls -l | grep "Oct 10" | cut -c57-80 | xargs grep "email@address"
Result: for a specific day (or range of days/month), get the appropriate file names and in those files, search for email (or other criteria)
No comments:
Post a Comment