*nix Delete Files Matching Text

Published On: 2011-08-28

Category: Jargon Jabberwocky

To delete files matching a certain pattern or text string try the following command:
grep -l '' *.txt | xargs rm