On Feb 8, 2007, at 1:47 PM, Kem Tekinay wrote:
On 2/8/07 3:01 PM, Chris Jett at [EMAIL PROTECTED] wrote:
I have an application that runs on OS X. I need to be able to tell
Spotlight to exclude my application's directory from indexing. Is
there a way to achieve this from the command line? The only examples
I see involve excluding an entire volume via the command line.
This may or may not work for you, but you could always add
".noindex" to the
folder name to keep Spotlight from indexing it.
<http://www.macosxhints.com/article.php?story=20050527103342870>
Based on that article, I've played around with the _exclusions.plist
and it turns out that the Apple rep might not have provided the
complete information. Or maybe they answered the question that I
asked, but didn't bother to consider the question that I was "really"
asking. It appears that you can add entries to that plist file to
exclude paths:
macpro1: tjones$ sudo cat /.Spotlight-V100/_exclusions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EXCLUSIONS</key>
<array>
<string>/Users/tjones/Developer</string>
</array>
</dict>
</plist>
So maybe that will give you what you need, Chris.
Tim
--
Tim Jones
[EMAIL PROTECTED]
"learning something new every day"
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>