Wednesday, October 10, 2007

ASSP Spam in Commission. A Search Open.

Some queries that I'm using to parse ASSP spam directory, just in case I need to look it up again:

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:

Blog Archive