[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: delete file based on content



On Mon, Jan 05, 2004 at 05:35:26PM -0600, Michael Martinell wrote:
[snip]
> 
> I tried the following: grep -li "Processing completed correctly" * 
> 
> This gave me the list of logs that were complete.  How can I send the
> results of this to the rm command.  The redirection that I tried did not
> seem to work.
> 

#rm `grep -li "Processing completed correctly" *`



Reply to: