[wplug] find & -exec / -ok

Kuzman Ganchev kuzman at sccs.swarthmore.edu
Thu Sep 25 17:58:31 EDT 2003


On Thu, Sep 25, 2003 at 04:15:48PM -0400, Vanco,  Don wrote:
> I expect that this:
> find . -name *.ini -exec rm {} \;

I think you need to escape the * to tell your shell not to glob it: 

find . -name \*.ini -exec rm {} \;

or

find . -name "*.ini" -exec rm {} \;

Kuzman



More information about the wplug mailing list