Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Spotlight's rules for indexing plain text files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Spotlight's rules for indexing plain text files
Authored by: Safar on May 13, '05 02:23:08PM

THANK YOU ! This is great, and should definitely have a hint of its own. I saw lots of places on the web where people try to achieve this sort of behavior.

I did exactly what you said, and then ran mdimport -f ~/webserver/ on my webserver to force spotlight to reindex my webserver, where all my php files rest.

Now i can search by content my php files.

I would just like to precise how you can get the type for a given extension (eg 'public.php-script' for php files). Run mdimport -d1 on a file with that extension , and observe the output.

[ Reply to This | # ]