On Mon, 16 May 2005, Brian Brazil wrote:
> I tried this too, it takes ~2s on my homedir. I put the extra .9s
You have to run them both a few times to prime caches and settle on a
consistent result.
> down to the IO time for extra info that -ls adds and sort having to
> move it around. Also the output of find -ls can be a bit cryptic
> due to the inode number and kilobyte count, so I rejected that in
> favour of something that outputed only the size and path. The
> -printf can be tweaked to add more info if its needed.
Yet you argued based on efficiency :)
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
The system was down for backups from 5am to 10am last Saturday.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!