I just discovered Glimpse, a command line tool for directory indexing and searching (much like Sherlock indexing). From their website:
GLIMPSE: A tool to search entire file systemsGlimpse is supposed to be extremely fast, although I have not done any benchmarking on it. I did manage to get it to compile and install.
Introduction
Glimpse is a very powerful indexing and query system that allows you to search through all your files very quickly. It can be used by individuals for their personal file systems as well as by organizations for large data collections.
I installed the latest Glimpse version 4.16.2 available here with some minor modifications.
Upon first 'make', I got an error about a missing header file. I searched on my machine and actually had the header file in my Fink directory, so I just copied it over, played around with the location and eventually hit on the sweet spot. The header file in question is dlfcn.h, and for me it was located in /sw/include/dlfcn.h. Compile cranked out a few warning and errors, but otherwise installed and seems to run fine.
After installing 4.16.2 I realized they actually have a user-contributed BSD binary available - it is a lower version but if you have trouble you might want to try that - it can be found here.
Here is the method I used to compile and install Glimpse 4.16.2:
% curl -O http://webglimpse.net/trial/glimpse-4.16.2.tar.gzCheck out the extensive online documentation or read the installed manpages for more information on the program.
% tar -zxvf glimpse-4.16.2.tar.gz
% cd glimpse-4.16.2
% cp /sw/include/dlfcn.h index/
% ./configure
% make
% sudo make install
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020806104235963