[vox-tech] Bash scripting newbie - need syntax help

Dave Margolis vox-tech@lists.lugod.org
Wed, 28 Apr 2004 11:14:14 -0700


ME wrote:

> Consider another direction:
>
>$ find /var/log -iname \*.[0-9].[0-9] -print0 | xargs -r0 rm -f
>
>  
>

i agree, find is recursive by nature.  no need to account for recursion 
with a script.  question:  how does piping ot xargs differ from using 
the -exec switch of find?