From: XeCycle Newsgroups: comp.lang.c Subject: Re: Interesting utilities References: Date: Sun, 16 Oct 2011 10:42:48 +0800 Message-ID: <8739et4pxz.fsf@gmail.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:9+oxaJsz5WDvLNy0fPpJgg8yn8k= MIME-Version: 1.0 Content-Type: text/plain NNTP-Posting-Host: $$5lonjgdxpj7l67.news.x-privat.org Organization: X-Privat.Org NNTP Server - http://www.x-privat.org Lines: 27 X-Authenticated-User: $$1tz_xxnxz085nc1qk X-Complaints-To: abuse@x-privat.org Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.x-privat.org!x-privat.org!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.c:11752 jacob navia writes: > I am developing in the Mac OS X (10.7) system, and it has some > nice features that I hadn't seen in any windows/unix system. > > One of them is the "mdfind" utility that is incredibly powerful: > > mdfind some-identifier > > will look in the whole machine for "some-identifier" and write > you in standard output the name of all files that have a > match. It is like > > grep -R "some-identifier" /*.* > > but it comes back in seconds instead of hours like grep. > > It is very useful, and I never found something even remotely > equivalent under linux/sun os What about `locate' from GNU Findutils? -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591