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

Re: delete file based on content



(oops, list reply)

On Mon, Jan 05, 2004 at 06:08:02PM -0600, Michael Martinell wrote:

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

> Any other thoughts?

grep -Zli "Processing completed correctly" * | xargs -r0 rm -v



Reply to: