Perhaps something like this:

        “# grep -l <pattern> *.log | xargs rm -rf"

        be careful....

        Javier.
  

-----Mensaje original-----
De: Craig [mailto:[EMAIL PROTECTED] 
Enviado el: viernes, 25 de abril de 2003 13:44
Para: Debian-ISP
Asunto: grep and delete

Hi Guys
 
I need to grep log files and delete certain criteria. Any ideas
and how I can do this ?
 
Thanks
Craig


Reply via email to