Re: quickie UNIX command


Subject: Re: quickie UNIX command
From: Sam Moore (samiwas@macconnect.com)
Date: Thu May 17 2001 - 11:28:52 MDT


Hmmm... wouldn't
rm *string*
have worked? (using * as wildcard, fore and aft - this is filename globbing, no
grep involved)
Not at a *nix box, so I can't check...

PS you do mean files whose names contain the string, don't you?

On 5/17/01 at 11:56 AM, gawain@guitar.net (Gawain Reifsnyder) wrote:

> I want to remove files in a directory on my YDL machine that contain
> a certain string. I think I'm getting close but no cigar... I'm
> thinking it's something like:
>
> rm | grep -l 'search string' *
>
> Any hints?

Sam Moore <smoo@lungta.org>

Personal: http://www.lungta.org (not ready yet)
For the clan: http://smhtf.lungta.org
Work: http://www.ewcreative.com

"Good and bad, happy and sad, all thoughts vanish into
emptiness like the imprint of a bird in the sky."



This archive was generated by hypermail 2a24 : Thu May 17 2001 - 10:33:29 MDT