Re: reaver_cache directory grows without limit.
Paolo <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <20090124112851.GA14585@localhost> |
On Fri, Jan 23, 2009 at 02:25:30PM -0500, Nico Kadel-Garcia wrote:
...
> Paolo, doing '-exec rm -f ' is not as efficient in my experience as
> you might think. For operations involving lots of files, it involves
hm, you are right:
$ time find tmp/ -name rand-[0-9]\*|xargs rm
real 0m3.171s
user 0m0.340s
sys 0m2.400s
$ time find tmp/ -name rand-[0-9]\* -exec rm {} \;
real 2m52.448s
user 1m9.570s
sys 1m33.280s
with 20000 rand-* files. A test with 200000 files yielded ~3'30" for xargs,
still waiting for -exec ...
$ time find tmp/ -name rand-[0-9]\* -delete
yields same figure as xargs (200 kfiles, not supported on 20k files test pc);
unfortunatly old vers of find(1) don't support it.
Seems I relied on old readings / tests - thanks for the hint, gonna change
some script myself :)
--
paolo
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword