The big advantage to spotlight is that it is always up to date. Even changes made seconds prior show up in the results correctly. Locate is only as up to date as the last indexing. However, locate is fast. It's not clear to me how you can use locate to find files on a volume other than the boot disk. Is this possible? I see no options for where to search, and the locate searches I've done only seem to return results for the boot volume.

Steve


On Aug 8, 2005, at 5:23 AM, Brian McEwen wrote:


On Aug 7, 2005, at 11:00 PM, Stephen Jonke wrote:


mdfind is useful, but you have to know its quirks and limitations. If you are trying to find something in a hidden directory or in a system directory, then you need to explicitly do the search on those directories, moreover you can *not* include the top level directory as doing so will revert it to a basic search even if some otherwise hidden directory is included as well (I don't know if that is a bug or a feature). If you do a basic mdfind it will exclude many directories, including most of /System.


one can also try locate (man locate for the commad to build the database that it uses).

I'm not sure how it deals with hidden system files under X.

I like this as you can have it run as a cron job once a day, and seearching it is fast, doesn't require parsing all the dir trees in real-time for searches, since the listing is already built, just search that. Good for when you are doing a few things at once.


_________________________________________________________________
Stephen Jonke                                  [EMAIL PROTECTED]
I Like Licorice and I Vote!               http://oneleftfoot.com/



--
G-List is sponsored by <http://lowendmac.com/> and...

Small Dog Electronics    http://www.smalldog.com | Refurbished Drives |
-- We have Apple Refurbished Monitors in stock!  |  & CDRWs on Sale!  |

     Support Low End Mac <http://lowendmac.com/lists/support.html>

G-List list info:       <http://lowendmac.com/lists/g-list.shtml>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[email protected]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to