[wplug] find & -exec / -ok

Vanco, Don don.vanco at agilysys.com
Fri Sep 26 08:51:25 EDT 2003


kuzman at sccs.swarthmore.edu <mailto:kuzman at sccs.swarthmore.edu> scribbled on
Thursday, September 25, 2003 5:59 PM:
> 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 {} \;
	
	Both of these iterations work for both -exec and -ok when under X
when running gnome-multi-terminal.  

	To address other posts in this thread - I also tested my original
syntax against xterm, uxterm, and gnome-terminal (that's all I have
installed) and in all cases I did NOT have to escape the wildcard or enclose
it in quotes to get the find action to work.  I have reported this behavior
to the package maintainer

Thanx all -
Don



More information about the wplug mailing list