View Single Post
Old 29-Nov-2007, 03:26 AM   #1 (permalink)
Anilrgowda
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Delete Lists of Files after grep in Linux

Linux Environment.

I have a command that lists all files containing the text '***SPAM***', take the list, and delete All of them.

this command lists all files containing text 'some text'.. but I'm not sure if it applies for '***SPAM***'
grep -lir "some text" *


------------------


Anilrgowda is offline   Reply With Quote