P.V.Anthony wrote:
> On this day, 29-June-2007 1:53 AM, Junhao wrote:
>
>> [EMAIL PROTECTED] find / -iname *spam* -print
>> [EMAIL PROTECTED] find / -iname *spam* -print -exec rm -i \{\} \;
>>
>> or
>>
>> [EMAIL PROTECTED] for i in $(grep -l spam *); do echo ${i}; rm ${i}; done
>
> Thank you for sharing.
>
> P.V.Anthony
>
>
Oops, the find command is wrong -- it looks at filenames, not file
contents. My bad, sorry about that. Maybe I shouldn't have done that at
2 in the morning. =p
--
Regards,
Junhao
[EMAIL PROTECTED]
http://www.jmarki.net/
"Oops, what happened?", said Confused Jmarki
_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet