September 14, 2007, at 07:18 AM
Tips /

PipingGrepOutput

My better half has a blog which is sometimes the subject of significant spam attack.

A little bit of shell spell auto-magically (scourgify or tergeo?) get rid of the spam stain ;)

grep -lir 'spam bullshit' * | xargs rm

Where you replace spam bullshit with a piece of text found on the incriminated spams ;)

source: kisch