[CentOS] Antwort: Re: what is the best way to delete so many queue files?

2009-09-01 Thread Frank . Brodbeck
Hi, "nate" schrieb am 31.08.2009 23:57:09: > MontyRee wrote: > > > What is the best way to delete fast without too much load? > > If you put /var on another file system you could: > - go to single user mode > - copy all files off of /var except those in the queue directory > - re-format the fi

Re: [CentOS] Antwort: Re: what is the best way to delete so many queue files?

2009-09-01 Thread William L. Maltby
On Tue, 2009-09-01 at 09:12 +0200, frank.brodb...@klingel.de wrote: > > 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.