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

learn more… | top users | synonyms

1
vote
0answers
136 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 ...
3
votes
3answers
713 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 ...
13
votes
4answers
4k views

Can I make a symlink (to a .app folder) in Applications directory show up in spotlight?

I used brew to install MacVim and it put it in /usr/local/Cellar/macvim/7.3-61/MacVim.app I would like to be able to go to spotlight and type MacVim to launch the app. I tried creating a symlink in ...
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
95 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
138 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 ...
4
votes
3answers
432 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. ...
0
votes
1answer
79 views

Modify Spotlight for Different Settings Between Partitions

I have two different versions of OS X installed on two different partitions. I'd like to ignore all files from other partitions (i.e. make it so OS X 10.8 files aren't searchable from OS X 10.9 and ...
2
votes
1answer
294 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
164 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 ...
4
votes
1answer
335 views

Does Spotlight normally index links in ~/Applications?

I have installed MacVim through homebrew, and this resulted in an alias in ~/Applications that points to /usr/local/Cellar/macvim/7.3-66/MacVim.app. Unfortunately MacVim does not show up in Spotlight ...
0
votes
1answer
40 views

Why did some applications have to rebuild their database after a Time Machine rollback?

Recently my system (10.8) got totally borked, so I booted into recovery mode and rewrote the entire disk from a two day old Time Machine backup. When I started back up, I found that: Spotlight ...
0
votes
1answer
253 views

How can I view the items in the Spotlight cache?

I'd like to view the data spotlight has imported. Is this possible? EDIT: For example I can do this: mdutil -svvv /Volumes/h8rdrive and find out this volume was indexed. I'd kind of like to ...
0
votes
1answer
542 views

Spotlight menu shows results, but Finder window doesn't

When I type anything into the Spotlight menu in the top right corner, I get the normal list of top results. But if I then click "Show All", or if I just go to the Finder and initiate a search there, ...
3
votes
2answers
243 views

Spotlight search iTunes Match

Back before I used iTunes Match, I enjoyed being able to search my library via spotlight. Now it seems that this doesn't work anymore. I guess this is because the music is not stored locally, but ...
0
votes
0answers
205 views

Spotlight's cache is huge; can I make it smaller?

I forced a Spotlight delete and reindex in Terminal with the command: sudo mdutil -E / Now Spotlight seems to not only constantly index, but also create huge (10+GB) cache files over the course of ...
1
vote
2answers
309 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. ...
0
votes
0answers
87 views

Is there a way Spotlight can search for files in iPhoto folder?

I keep my iPhoto library in Dropbox. Sometimes Dropbox creates “conflicted copy” labelled duplicates of files (luckily, the library ignores those files and is working properly). I want to get rid of ...
0
votes
2answers
7k views

How to delete email messages from Spotlight search on iPhone?

I have a iPhone 4S running iOS 6. Spotlight seems to find deleted e-mails on iPhone, how can I delete e-mails permanently from Spotlight results? Could this potentially be a bug in iOS 6? I am ...
0
votes
1answer
389 views

Why doesn't iPhoto show up in Spotlight search results?

Recently I noticed that if I do a Spotlight search (using the Spotlight menu on the menu bar), the iPhoto application is not included in the results. If I open a Finder window to the Applications ...
6
votes
3answers
791 views

How to add folder to Spotlight “do not index”?

Is there any way to programmatically add a folder to Spotlight's "Privacy" tab? Either through Terminal or Applescript? Often I want to click on an item in Spotlight results in Finder, and have that ...
2
votes
1answer
92 views

Spotlight does not find file

I have the file Rprofile.site in /Macintosh HD/Library/Frameworks/R.framework/ Searching 'Rprofile.site' in Spotlight does not find the file, and I have to manually go to the folder containing the ...
0
votes
2answers
83 views

How to find files not containing comment x?

I try to find all "*.xyz" files in folder x which does not have comment "abc". This code does the opposite. I would prefer to use Spotlight if possible. How i can do this? Thanks do shell script ...
9
votes
5answers
11k views

Searching by file name (as opposed to name and contents) in Lion

In earlier versions of OSX, when you search in a Finder window, it gave you the choice of searching by contents or file name. In Lion this choice seems to have disappeared, I can only search by ...
0
votes
0answers
41 views

What backup methods preserve kMDItemDateAdded?

The attribute kMDItemDateAdded corresponds to the "Date added" column in the Finder, and is especially useful for the Downloads directory. Unfortunately, this attribute is not part of the filesystem ...
1
vote
1answer
99 views

Auto switch input source to English when entering Spotlight, typing URL in Safari, etc

I don't have files with non-english names, and don't type non-latin URL's, so question is how to auto switch system input source in these occasions.
1
vote
1answer
306 views

What's wrong with my Outlook search?

Ever since doing OS X 10.8 updates, a pair of machines with Outlook refuse to look back further than 2 weeks during e-mail searches. Spotlight settings all look OK. I even forced an index ...
2
votes
2answers
424 views

How do I use Spotlight to find all MP3 that are encoded at 320 kbps?

In order to save more space on my music collection, I want to use XLD to convert all my CBR (constant bit rate) 320 kbps MP3 to VBR (variable bit rate). How do I use Spotlight to find all 320 kbps ...
1
vote
1answer
259 views

Spotlight not indexing attachments of exchange Mail

I recently got a MBP and really love how quick spotlight is. I'm reading my exchange email via the Apple Mail app. The messages are indexed by spotlight but the contents of the attachments are not. ...
0
votes
0answers
21 views

Is there a way to omit certain directories from where Mac OSX finds applications for its Applescript dictionaries et al?

Mac OSX maintains a list of applications for Applescript dictionaries, for the open-with list in finder etc. This list gets collected from local directories (e.g. /Applications) but it finds as well ...
2
votes
1answer
155 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 ...
1
vote
2answers
326 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
126 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 ...
0
votes
1answer
89 views

Finder spotlight tool not “grepping” through all file types?

We've got this development stack that's mostly javascript, and if I'm looking for a variable definition or something I can use Finder's spotlight tool to easily find the file that contains the ...
2
votes
1answer
202 views

Spotlight for currency conversion

I know that Calculator app has ability to convert currencies but is it possible to get this shortcut in Spotlight like that: currency 100 USD to GBP
18
votes
11answers
53k views

How to fix slow Spotlight and Time Machine after upgrading to 10.7.5?

Since updating to 10.7.5 both Spotlight and Time Machine are very slow. To index a normal system drive Spotlight calculates to need several days. As a result Time Machine takes up to an hour or more ...
3
votes
2answers
795 views

How can I do a full text search of plaintext files in my DropBox folder?

I understand that Spotlight will search the full text of files in any folder and will show files that contain instances of the searched text. But I would also like to see highlighted instances of the ...
5
votes
6answers
2k views

Spotlight is broken on my main partition in OS X 10.7.4

Not long after updating my main OS X installation from Snow Leopard to Lion, Spotlight stopped working on that partition, and I'm desparately trying to get it working again. It will find no files for ...
0
votes
1answer
402 views

Remove all references to Parallels 7 Windows 7 VM programs

My system has been polluted with references to programs residing in a Windows 7 VM in Parallels 7. For example, Windows programs show up in Spotlight, and in Safari settings under General->Default ...
3
votes
2answers
219 views

Have Automator add original path to Spotlight Comment for a file when moving to the trash

Is there a way to add the original path of a document as a Spotlight comment in Mountain Lion? I have created an automator workflow that automatically adds the Timestamp and user when a file is moved ...
2
votes
2answers
288 views

Spotlight Cmd+Enter to open containing folder does not work

When you type something in spotlight, highlight a result and hit Command+Enter, it should open the containing folder in finder (For reference). However, it does not work on my OSX 10.8.2 MBPR. The ...
1
vote
2answers
240 views

Does the search in Finder need spotlight?

I just reinstalled OS X Lion and turned off the spotlight immediately. I noticed that search in Finder stopped working. Is this because of disabling spotlight? Is there a way to get this back without ...
0
votes
1answer
40 views

Index screenshots

I want to be able to search through text in my screenshots that I made. Prizmo does the OCR feature pretty well and also has an Automator action provided. Unfortunately, though, I have no idea how to ...
2
votes
0answers
1k 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$ ...
-1
votes
3answers
160 views

How can I hide the privacy tab from Spotlight.prefpane?

I am using spotlight search on my MacBook, and am excluding a few folders from spotlight search. My problem with Apple's method of excluding the folders is that excluding them actually calls attention ...
4
votes
2answers
153 views

Disable dictionary results in Spotlight?

How can I remove dictionary results from Spotlight results? I've typed "chrome" into Spotlight and looked up chrome in the Dictionary one too many times, and now opening Chrome takes an extra ...
1
vote
0answers
154 views

Add spotlight indexing for CSV files

On my system (Mountain Lion) Spotlight doesn't do a full-text search for comma-separated values, but I can search them with Spotlight if I rename them to .txt for example. Is there a way that I can ...
4
votes
1answer
566 views

Xcode doesn't show up in spotlight results, neither search results

I haven't noticed exactly when it happened but previously I was always using spotlight to run Xcode. Now if i'm typing "Xcode" in it, only folders containing this name show up, or some xcode projects, ...
1
vote
3answers
1k views

How to Enable Spotlight Search Files And Directories

Is it possible to let Spotlight find files and directories from all over?
2
votes
2answers
532 views

How to locate a file in Spotlight using folder and file name?

I often want to navigate to a file or folder that does not have a unique name. Instead, the parent folder in combination with the file or foldern name makes it unique. Here are a few examples: I ...