Questions about Spotlight, a system-wide desktop search feature of Apple's OS X and iOS operating system.

learn more… | top users | synonyms

0
votes
0answers
35 views

Best Way to Add Metadata to a File

Okay, so I have a fairly simple script that uses mdfind to quickly find files matching certain criteria so that I can run some operations on them. However, I don't want to run these operations again ...
0
votes
0answers
14 views

The source of frequent crashes that require rebuilding the Spotlight index?

My early-2009 Mac Pro has taken to freezing relatively frequently, I think always when Safari is running. The machine must then be power-cycled, and when it comes back up, the Spotlight index is hosed ...
1
vote
1answer
79 views

Spotlight doesn't find the contents of at least one file

Goal - find a clever way to discover what Spotlight has (or hasn't indexed). I have an xls spreadsheet that has the names and emails addresses of people who attended a recent course of mine. In the ...
6
votes
1answer
650 views

Decimal separator setting for the Spotlight calculator

I use the Spotlight calculator a lot but since the upgrade to OS X Mavericks the decimal pointer has changed to a , instead of the . as in a previous release. Probably it now respects some locale ...
1
vote
1answer
355 views

Locating an app by its bundle identifier from the command line

I am looking for a way to find an app's location on the system from the command line using its bundle identifier. I can open it like this: open -b 'com.zerotier.ZeroTierOne' ... where ...
2
votes
1answer
2k views

How can I fix the Spotlight index for an encfs-mounted directory?

Until recently, on OS X 10.8, I was using Alfred (which in turn uses Spotlight) to search files and directories on an encfs-mounted partition (which is mounted off a folder in my Dropbox directory). ...
0
votes
0answers
40 views

How can I prevent “Open With…” from accessing external drives?

Frequently, when I try to open the (10.9) Finder's "Open With..." menu, I experience a delay that appears to be due to connected FireWire drives. This delay is very long when the drives need to spin ...
0
votes
1answer
287 views

Include files from secondary hard drive in spotlight searches

I have an SSD as my boot partition and a HDD for all my documents on my Mac (OS X Mavericks). I have noticed that I am unable to search for files on Spotlight that are located on my HDD. I suspect ...
2
votes
1answer
666 views

Search in a particular folder and subfolder through Spotlight

As the titles indicates, I would like to search a file in a particular folder, and its subfolders, through Spotlight. Is it possible to do that in Spotlight? If so, how can that be done?
3
votes
1answer
151 views

Spotlight keeps forgetting not to index BOOTCAMP partition

For special needs, I must mount BOOTCAMP partition as read-writable. I also add BOOTCAMP partition into Spotlight Privacy because it needs not to be indexed. But once every few days, Mac forgets ...
0
votes
2answers
89 views

Search a folder that is excluded from Spotlight

I have excluded a folder from Spotlight, because this folder has a lot of files so it often fills up the results, no matter what I'm searching for. However, sometimes I still want to search this ...
2
votes
1answer
216 views

Exclude all .git or .svn folders from Spotlight index

I would like to exclude all the .git and .svn folders on my hardrive from the Spotlight index. I know I can manually add them through the GUI but since they are many of them, and often new ones, it ...
8
votes
5answers
3k views

Why would you choose Alfred over Spotlight?

Mac OS X is already loaded with Apple Spotlight, why use Alfred? What does Alfred bring to the table that Spotlight doesn't?
0
votes
2answers
192 views

How is font metadata stored?

Right after downloading a font, you can see it has a lot of metadata. For example, if you download the Sansation font and run mdls Sansation_Regular.ttf you will get this output: ...
4
votes
0answers
298 views

Find symbolic links (’s names) with Spotlight (Finder)

underwhelmed by the fact that OS X’s Aliases got really big with Mountain Lion (Lion?) I basically switched to using symbolic links instead. Now I’m just learning the hard way that Spotlight (or, ...
2
votes
0answers
687 views

Spotlight does not index folders or subfolders

After upgrading to OS X 10.9, spotlight only show result for files but not folders. I have checked the preferences and also reindex the parenting folder by adding and removing it to the privacy tab. ...
3
votes
1answer
221 views

Remove past versions from Spotlight searches?

Is there a way to prevent Spotlight from indexing past versions of documents (see attached image). On my system it seems to always recommend an old version as the top hit, requiring me to scroll ...
2
votes
1answer
759 views

Finder Search (spotlight) not finding all relevant results

I'm trying to remove an application manually by deleting it and any extras using the search function in Finder. As a backup, I also ran the app through AppCleaner to see if it caught anything as ...
1
vote
0answers
253 views

Spotlight integration of Thunderbird 24.1.0 in Maverick

I have Thunderbird 24.1.0 running on Maverick and it works nicely. I am wondering about the integration of spotlight and thunderbird. I can search in spotlight for my emails, which is what I want, ...
2
votes
1answer
303 views

Quicksilver and Spotlight

I have found that I need to run both Quicksilver and Spotlight. I consider this to be a waste of CPU and memory and would like to eliminate one of them probably Spotlight. The reason I would like to ...
2
votes
2answers
777 views

LaunchBar/Quicksilver as a replacement of Spotlight?

I asked about the usefulness of spotlight here, as I don't like the drag that spotlight causes all the time. What I found useful in Spotlight is those two. word lookup : spotlight opens ...
1
vote
2answers
1k views

Spotlight and Alfred can't find alias to Emacs.app

I installed Emacs.app with Homebrew, and used brew linkapps to create an alias in my /Applications directory. Since I updated to OS X Mavericks yesterday, Spotlight and Alfred can no longer see this ...
0
votes
0answers
29 views

How to use spotlight for system commands such as shutdown? [duplicate]

I want to type in Spotlight commands such as shutdown, reboot, suspend or lock and make it execute it, just like Alfred does. How to make this possible with Spotlight?
0
votes
1answer
288 views
33
votes
3answers
8k views

How to place Dictionary definitions higher up in spotlight results

I used to use spotlight fairly frequently to quickly look up words in a dictionary. With Lion, I've noticed that my dictionary results have dropped down much lower in the list of results: I'd like ...
4
votes
4answers
780 views

Spotlight, please don't show mail, but still let me search in Mail app

When I search for stuff, even constraining with name:whatIwant, the majority of results are old e-mail messages and Safari history items. How can I get rid of these results, but still search my email ...
4
votes
3answers
395 views

Non-recursive spotlight search?

When using the Spotlight search at the top right of a finder window, I often want the search to be non-recursive, i.e. only look at files in that specific directory, not any directories within it. Is ...
0
votes
1answer
33 views

Spotlight hangs on ical item

My iMac (early 2009) is super slow and spotlight and timemachine doesnt work at all. I am suspecting the the spotlight index (which never seem to finish) is behind some of the performance issues. I ...
1
vote
2answers
257 views

How does Spotlight determine which category a file belongs to?

In Spotlight you can enable and disable file categories that will appear in search results. How does Spotlight determine that a certain file belongs to a certain category? The following specific ...
0
votes
0answers
125 views

iOS7, ability to search web via Spotlight search

Prior to iOS7, if someone wanted to search the web, generally the easiest way to do so was by entering your query into the spotlight, and then just clicking 'Search Safari/Wikipedia'. After upgrading ...
0
votes
1answer
3k views

How long should Lion take to set up Spotlight?

I updated my Mac from Snow Leopard 10.6.8 to Lion. Everything went well. The computer restarted when the OS setup finished. Now, Spotlight setup has been running for more than two hours. Is something ...
0
votes
2answers
249 views

Is there a way Spotlight indexes my Skim bookmarks/notes ?

I find Skim is a great pdf file reader and want to spend a great deal of time adding notes and bookmarks to some of the pdf files I have. I know Spotlight indexes pdf files but it doesn't seem to ...
0
votes
0answers
452 views

How can I restore Spotlight to menu bar?

I removed the Spotlight icon from the menu bar. I would like to restore it. I tried the recommended method: sudo mdutil -a -i on sudo chmod 755 ...
1
vote
1answer
5k views

If swipe down on iOS7 gives Notification Centre, where's Spotlight?

I just upgraded to iOS 7 on an iPhone 4S. When I swipe down on any screen, I get Notification Center, not Spotlight. Anyone know which setting is wrong? My Google search results are riddled with ...
3
votes
1answer
718 views

Why do some app spotlight results show the “.app” extension, but not all?

Even though I've explicitly set the Finder preference to display all file extensions, I'm still finding that some apps do not show the file name extension in their Spotlight result. Here are some ...
1
vote
0answers
196 views

Force Spotlight Comments to be written to .DS_Store

I've come to understand that in order for Spotlight comments to be viewable in the Finder, the extended attributes have to be written to the appropriate .DS_Store file. The problem is, every time I ...
1
vote
1answer
480 views

What does the undocumented switch, -t, do for the mdutil utility?

In the process of troubleshooting why my Time Machine was not completing and hadn't finished backing up since 4PM today - It's now 11:49PM -, I saw two console suspicious log entries as follows (btw: ...
5
votes
1answer
311 views

Why is mdfind only returning my most recently accessed files?

I've imported most of a javascript code base via mdimport (using the packaged SourceCode.mdimporter provided by Xcode) and it succeeds. However, mdfind only ever returns to me at most two results, ...
2
votes
1answer
429 views

Rules for Spotlight search (on osx 10.8)

I absolutely do not understand the rules that Spotlight (osx 10.8) uses to search my files. If I enter the query sbml and select filename from the dropdown menu, these are the results that come up: ...
0
votes
1answer
152 views

How do I stop OS X from treating an SuperDuper image on an external drive as part of my current installation?

Every night, I have SuperDuper! create an image of my hard drive to an external drive. This works great, and has saved me from system failures a number of times. However, OS X is constantly treating ...
0
votes
1answer
324 views

Why is Automator not working with Spotlight Search?

I'm running an Automator Workflow that searches a provided directory, and then does a standard Filter Finder Items in order to make sure it's only going to be working with aliases. Spotlight failed ...
1
vote
1answer
288 views

Applications/Xcode vs Developer/Applications/Xcode

I have OSX 10.8 with Xcode 4.6.3 installed (it shows under App Store). When I Spotlight-search "xcode" I see two results: Xcode – Mac & Xcode – Developer. The first launches as expected, but with ...
1
vote
0answers
174 views

Draft emails on Spotlight Search

When I access my Drafts Gmail folder on my iPhone 4S, there are no saved mails in the draft. However, when I search under Spotlight Search, I get a bunch of emails I started writing once but never ...
4
votes
3answers
1k views

Find a specific file with automator

The basic question is: How can I pass a filename to the Spotlight search module in Automator? The essential problem: I have hundreds of broken aliases scattered throughout a particular ...
6
votes
4answers
2k views

How can I set Spotlight metadata to files?

I am looking for a command line utility (I need to use it in a script) that can set Spotlight metadata to files.
1
vote
2answers
109 views

Keyboard Shortcuts For Navigating Spotlight?

I find keyboard shortcuts very useful, and whilst I know quite a few of the "general ones", I don't know any concerning using Spotlight with the exception of Command-SpaceBar to launch it. What ...
1
vote
2answers
164 views

Why does Finder search not find my .c files?

My goal is, that the finder search finds .c files that have the search keywords in it. It seems to work for others but not for me: but searching for main doesn't yield any results: What do I ...
6
votes
3answers
873 views

Exclude sub-folders from Finder search

How can I force Finder to only search the current folder, ignoring the contents of all the sub-folders? I don't want to exclude the sub-folders permanently from Spotlight, just for a certain search. ...
2
votes
1answer
362 views

Why doesn't Spotlight show invisible files that I know exist?

I am running Mac OS X 10.8 (Mountain Lion) and had to edit an invisible file as part of an Android project. While I eventually found it, Spotlight was of no help, since it could not find an invisible ...
2
votes
1answer
366 views

Prevent partitions from Spotlight indexing each other

I have a single MacBook Pro partitioned into two drives, each running a copy of Mountain Lion. In Partition X, I would like to disable Spotlight from indexing Partition Y. In Partition Y, I want to ...