On Tue, 2002-05-21 at 17:30, Ed Wilts wrote:
> On Tue, May 21, 2002 at 01:55:40PM -0700, Samuel Flory wrote:
> > This should always work `find * -exec rm {} \;`
> 
> Nope.  As long as you include an unquoted * on the command line, it
> should fail.  Not verified, but since every other bash command that
> expands the * fails, I would expect this to fail too.
> 
> This might work:
> 
> find . -name '*' -exec rm {} \;
> 
> Again, not tested, but the other solutions are cleaner anyway.

Why not just:

find . -exec rm {} \;





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to