On Mon, Aug 14, 2000 at 03:54:22PM -0400, Arcady Genkin wrote: > Florian Friesdorf <[EMAIL PROTECTED]> writes: > > > > for i in `ls`; do > > > echo -n "$i: "; > > > procmail < $i && rm $i; > > > echo "done."; > > > done > > > > I still don't understand what was going on, but with this one it worked > > fine. > > > > (for i in `ls`; do echo -n "$i: "; procmail < $i && rm $i; echo "done."; > > done) > ../log 2>&1 & > > Not to say that this is the cause of slowness, but you may still want > to change the `ls` to *. This will save running ls, and opening and > closing a pipe: > > for i in *; do > ... > -- > Arcady Genkin > Don't read everything you believe.
Thanks for the hint. It seems, I was little bit tired. The second time it was running on the server where the mail folder was saved locally. Not on my nfs mounted box. But I still don't understand, why it was that slow over nfs (100BaseT). -ff -- Florian Friesdorf <[EMAIL PROTECTED]> OpenPGP key available on public key servers ------> Save the future of Open Source <------ -> Online-Petition against Software Patents <- ------> http://petition.eurolinux.org <-------
pgpPmxgo71fw1.pgp
Description: PGP signature