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

learn more… | top users | synonyms

2
votes
1answer
80 views

Exclude apps from Spotlight results

Is there a way to exclude specific apps from Spotlight search results? For example, in my daily workflow I rarely open iTunes. So when I want to open iTerm2 it would be great to save the extra ...
2
votes
1answer
218 views

How to force Spotlight to index content inside a package?

I wish to use Spotlight to search inside my Papers 3 library package (i.e., a 'bundle') as the search functionality within the application is broken and/or hamstrung. Is there any way I can force ...
2
votes
2answers
416 views

Spotlight in Mavericks does not search Tags - how to enable?

I have defined a couple of tags in Mavericks. If I search inside Finder, tags work as expected: It recognizes that "Firma" is a tag. If I select it and press enter, it turns into "Tag:Firma". ...
2
votes
0answers
59 views

How to switch from Spotlight to Alfred via Terminal?

I installed Alfred through homebrew-cask. I want to disable Spotlight and let Alfred be opened with Cmd+S. The first Terminal-based solution I tried was unloading Spotlight with sudo launchctl unload ...
2
votes
2answers
270 views

Weird behavior of spotlight & program icons

My spotlight is acting a bit scatchy, it shows every program as a rar? archive. Did a rebuild of the index file. Did a repair permissions. Who can Help me?
2
votes
1answer
243 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 ...
2
votes
0answers
689 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. ...
2
votes
1answer
373 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 ...
2
votes
1answer
244 views

Spotlight Doesn't Properly Show Preference Panes

I'm having an issue where Spotlight isn't properly showing results for System Preference panels. When I search for a preference panel by name (e.g. Sharing or Network), I don't get any System ...
2
votes
0answers
2k views

Why can't I search files and folders on my external NTFS drive on Mountain Lion?

I have tried to re-index my external drive by removing it from Spotlight's privacy settings and putting it back there. I tried with mdutil in the terminal and I've got the following log: bb:~ bb$ ...
2
votes
2answers
2k views

Spotlight: Unable to index network SMB share

I'm trying to turn on spotlight for my NAS drive. I have it mounted in OSX 10.8.2 as the following: /Volumes/Trogdor (smbfs, nodev, nosuid, mounted by soltrain) mdutil returns the following: ...
2
votes
0answers
365 views

Spotlight Woes! Can't search, can't reindex, can't find [closed]

Help! Spotlight stopped working ... if I go to spotlight search (top right), it just hangs. Same with Apple-F in Finder ... it causes Finder to hang for a minute or so. Cannot search. I went to ...
2
votes
0answers
354 views

How can I integrate custom search app's results to my iPhone's spotlight search? [closed]

Is it possible to extend iOS spotlight's search results to include data from my application? My iOS app has a separate search interface but it would be great if there was a way to provide the results ...
2
votes
2answers
482 views

Help: spotlight can't see Firefox in Applications folder?

(FYI, I'm using Snow Leopard.) I used to launch Firefox using spotlight by just typing "Firefox" to locate it. Since I didn't launch Firefox often, I didn't want it in my dock, so I just got in that ...
2
votes
1answer
555 views

How do I temporarily exclude a folder from a search?

I often use spotlight to locate documents quickly. The one annoying thing is that I often email documents to share them and spotlight will find the version of the document indexed in my mailbox ...
1
vote
6answers
336 views

Is there a way for Spotlight or Launchbar or Quicksilver or similar to just return matching folders not files?

I frequently need to just get a finder window up that's a ton of folders deep. There's only so many favorites you can put in the finder sidebar. I'd happily configure a dedicated launcher to just ...
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
680 views

Preventing Spotlight from Indexing Files & Folders?

Spotlight is a very ingenious "tool" of OS X, attributable in no large part to its indexing feature. Hiding various files & folders is challenging even when using various encryption applications. ...
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 ...
1
vote
1answer
58 views

Does Spotlight index SSDs faster than HDDs?

Ive been thinking about swapping my MacBook Pro's (late 2012) hard drive for an SSD for a while now, as there becoming more affordable at decent sizes. Apart from the read / write and startup time ...
1
vote
1answer
78 views

Can I perform inverse trig functions in Spotlight?

Is there a way to make Spotlight return the sin-1, cos-1, or tan-1 of a given number without opening Calculator.app?
1
vote
1answer
388 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 ...
1
vote
2answers
5k views

mdworker process always at 100%, even when not indexing

I'm trying to understand why mdworker is always at 100% even when (apparently) not indexing. If I open Spotlight, there's no message telling me that a drive is being indexed. If I run fs_usage -w -f ...
1
vote
1answer
301 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
3answers
8k views

Spotlight doesn't work anymore in OS X Mountain Lion

I can't get Spotlight to search for any documents. When I search the Finder for documents, nothing happens and the Spotlight search through the menu bar only shows up web searches.
1
vote
1answer
143 views

Can Spotlight show results for disconnected drives?

I have several external hard drives which I would like to search for files with Spotlight. They cannot be all connected at the same time. How can I get Spotlight results for offline external hard ...
1
vote
1answer
620 views

Needs Office for Mac 2011 Outlook Spotlight?

I have deactivated Spotlight, because the mdb process used a lot of memory and I use Spotlight not really often :-) Today I searched some emails in Outlook (Office for Mac 2011) and the mails could ...
1
vote
2answers
1k views

How do I add folders to spotlight search priority?

How do I add a system link to the Applications folder and have it show up in spotlight. Alternatively how do I add a specific folder to spotlight search priority. Easy to rearrange but I can not add ...
1
vote
1answer
618 views

How can I enable search by filename in finder on Lion

Before switching to Lion (on Snow leopard) I used to open a directory (like my Downloads) and start searching using the search box at the top right of the finder window for a file and there was an ...
1
vote
2answers
345 views

Mac not searching my files

Today I started my Mac (iMac) and when I tried to search in finder or spotlight it produce no results. I think its related to the search cache. I guess it gets corrupted. If this is the case How can I ...
1
vote
1answer
4k views

How to find a telephone number strored in contacts by searching for a substring on iPhone

I'd like to search my iPhone contacts using a part of a telephone number as a key (search by substring). The integrated spotlight search, however, doesn't return any entries when searching for a full ...
1
vote
3answers
529 views

Using Spotlight to play iTunes songs causes another song to play after resuming from pause

Spotlight allows you to play songs from iTunes. Unfortunately, when I pause the song and resume, iTunes goes back to playing what it was playing before I used Spotlight. Is there any way to fix this ...
1
vote
2answers
90 views

How to disable Spotlight indexing when on battery?

Every time I add a few MBss of files to my SD disk, Spotlight starts eating battery (per Activity Monitor Energy Impact) for one to several days indexing them. How can I make indexing to turn off ...
1
vote
1answer
58 views

Permanently disable Spotlight on disk that is used with rsync

I'm using rsync to mirror files from my internal drive to an external USB hard drive. This is the command I'm using: /usr/local/bin/rsync --archive --exclude='.DS_Store' --delete-after --progress ...
1
vote
1answer
53 views

Add .gsheets to Spotlight under spreadsheets

Currently if I'm searching for something and it happens to be a Google spreadsheet it shows up under other. Is there any way to have .gsheets show up under spreadsheets?
1
vote
2answers
47 views

How to run a script from Alfred or Spotlight or any run dialog?

Coming from Linux I am really missing the good old gmrun -- a run dialog which recognizes your $PATH and allows you to execute any script in it without needing to open up a terminal. It does the job ...
1
vote
2answers
81 views

Remove battle.net setup from Spotlight

I installed battle.net a long time ago. Every now and then I use spotlight to invoke it by pressing ⌘ + space and I start typing "battle" every time, the top hit is "Battle.net Beta Setup". I do not ...
1
vote
1answer
69 views

How to have spotlight index .tex files?

I want spotlight to index my .tex files and show them as possible results when I search. I imagine the solution would work for any extension, but right now I only care about .tex
1
vote
1answer
40 views

Why does spotlight search system files?

Most of my spotlight search results are files in ~/Library (application data) and /usr/include (header files) I already tried to rebuild the index. Any thoughts?
1
vote
2answers
263 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 ...
1
vote
2answers
549 views

Using mdfind to evaluate the text content of a specified file?

I would like write an applescript to evaluate whether a particular file contains a specified string (perhaps as part of an if... then statement). I want to invoke a shell command using mdfind to do ...
1
vote
1answer
725 views

How can I make Spotlight index source code in Mountain Lion?

Under Lion I had Spotlight set up to index .as (ActionScript) files using the general instructions here: http://hints.macworld.com/article.php?story=2005052015041510 but installing Mountain Lion seems ...
1
vote
1answer
163 views

Smart “Applications” folder

How to create a "smart" Applications folder that unifies the content of other three folders? In my machine I have three versions of OS X installed (for testing purposes) in different partitions, each ...
1
vote
1answer
347 views

Spotlight is disabled for my main volume

$ sudo mdutil -i on / /: Error: unable to perform operation. (-400) No index. Lately, I'm low on drive space on my main volume. But after I just deleted some stuff, the error remains: $df -h ...
1
vote
2answers
232 views

Spotlight indexes wrong HD

Mac Mini Server, OSX Server 10.6.8, dual drive I cloned the first hard disk (HD1) to HD2 using CCC, thus creating a bootable copy. However, now I discover that when I startup from HD2, Spotlight has ...
1
vote
2answers
242 views

Spotlight can't find m4a files

I used to use Spotlight to directly start iTunes at a track I wanted to listen to by searching for it. However since upgrading to Lion I've not been able to do this with .m4a music files (mp3s still ...
1
vote
1answer
79 views

Find All MP4 Files With DTS or AC3/A52 Audio?

Okay, so after spending a lot of time encoding (or re-encoding) files to mp4's hoping they'd be compatible with iTunes, it turns out that iTunes won't play files with DTS or AC3/A52 audio, so I'm ...
1
vote
2answers
49 views

Applescript to automatically add .noindex extension to a file?

I'm interested in excluding certain files from Spotlight, and it was suggested to add the .noindex extension. I'd like to automate this. How is it possible to do via Applescript?
1
vote
1answer
1k views

How to make spotlight index files shared over AFP

I'm sharing a local folder on a 10.8.5 Mac Mini server via AFP. The share is set to allow a certain user group to write to it. When users in this group place files in the directory, they are owned by ...
1
vote
2answers
92 views

Spotlight not indexing secondary drive

I have two drives on my MacBook Pro. One is a SSD with the root (/) partition, and the other is a hard drive with a home directory partition (/Users). Both partitions are HFS+ format. When I make a ...