by Mark Carter <me@[EMAIL PROTECTED]
>
May 17, 2008 at 12:10 PM
Woody wrote:
> Mark Carter <me@[EMAIL PROTECTED]
> wrote:
>
>> I'm thinking that Spotlight doesn't index all files, just only files
>> with extensions it knows about.
>>
>> I'd like it to be able to do two extra things:
>> * Files marked with ".markdown" should be indexed like they were plain
>> text files
>> * Files like README, which contain purely ASCII text, should be indexed
>> like plain text files.
>>
>> Any ideas how I can accomplish this?
>
> get the filetype with 'mdim****t -n -d1 <filename>
>
> Then in the file /System/Library/Spotlight/RichText.mdim****ter ->
> Contents/Info.plist add the type to the LSItemContentTypes array (you
> will see entries like public.text, public.xml, public.rtf)
Now that's magic!