On Tue, 2009-09-01 at 09:12 +0200, frank.brodb...@klingel.de wrote:
> <snip>


> You probably want to do
> 
> find /var/spool/clientmqueue -type f -exec rm -f {} \+

Or the variant ... -execdir command {} +  might be preferable.

It claims to avoid potential race conditions and warns about $PATH
setting.

> 
> to reduce your load or if your find(1) isn't POSIX compliant:
> 
> find /var/spool/clientmqueue -type f -print0 | xargs -0 rm -f
> <snip>

> HTH,
> Frank.
> <snip sig stuff>

Frank, I need to re-read man pages more than once every decade or so. I
didn't know they had added new forms of exec.

Thanks,
-- 
Bill

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to