On Thu, 27 Jun 2002, Jacques L'helgoualc'h wrote:
On 06/27/2002, 19:06 +0300, Udi Mottelo wrote:
[...]
I hope it is safer[1], but "find .... -exec rm {} \;" is slower than
one "rm", as we can easily construct its arguments:
Yes, I meant find(1) against ls(1). I must say that I was shocked
when I saw that the complicated prog like find(1) is so fast and ls(1)
is so dumb(?):
dada:/var/spool/mail# time ls -aRs >/dev/null
real 0m0.025s
user 0m0.010s
sys 0m0.010s
dada:/var/spool/mail# time find . -size +0 >/dev/null
real 0m0.008s
user 0m0.000s
sys 0m0.000s
I checked is several times on Linux7.2
Bye,
Udi
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail