• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why Spotlight?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why Spotlight?


  • Subject: Re: Why Spotlight?
  • From: John Baltutis <email@hidden>
  • Date: Wed, 31 Jan 2007 13:07:42 -0800

On 01/31/07, Luther Fuller <email@hidden> wrote:
>
> Almost all day, yesterday, I toiled away at adding a new handler to a
> script. Late last evening, after chasing out a few bugs ... it
> worked! It copied about 65 files to a folder. While checking thru
> this folder, it occurred to me that it would be very useful to be
> able to search just that folder for file name, content or comment.
>
> I seldom use Spotlight, but, this time ... why not? I spent a
> frustrating hour trying to find files in that folder that that I knew
> existed there, because I can see them, only to have Spotlight tell me
> "0 items found". I felt like an ignorant klutz until I realized ...
>
> Mail message files (.emlx) which are not located within the user's /
> Library/Mail/ folder are INVISIBLE to Spotlight.
>
> Spotlight is useless! Any further comment by me would be an off-topic
> rant ... Is there a Spotlight Users List?

You can always add items to the include array within the _rules.plist file
buried within  /.Spotlight-V100 / that controls Spotlight's behavior. The
defaults are:

<?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>EXCLUDE</key>
        <array/>
        <key>INCLUDE</key>
        <array/>
        <key>NOTE</key>
        <string>Specify paths to include or exclude, preceeding rules which
target user-homes with ~/</string>
</dict>
</plist>

Here's what I'm running on my machine:

<?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>EXCLUDE</key>
        <array/>
        <key>INCLUDE</key>
        <array>
                <string>/System</string>
                <string>/Library</string>
                <string>/etc</string>
                <string>/private</string>
                <string>/usr</string>
                <string>/bin</string>
                <string>/sbin</string>
        </array>
        <key>NOTE</key>
        <string>Specify paths to include or exclude, preceeding rules which
target user-homes with ~/</string>
</dict>
</plist>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Prev by Date: iTunes Restore
  • Previous by thread: Re: Why Spotlight?
  • Next by thread: iTunes Restore
  • Index(es):
    • Date
    • Thread