Questions tagged [spotlight]

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

85 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
1k views

Fixing “spotlight quit unexpectedly”

On macOS 10.12.6 SIP was disabled (to issue an NVRAM command). Unrelated to that command, but very possibly related to disabled SIP: After a reboot the Spotlight icon is gone, the PreferencePane ...
4
votes
0answers
74 views

“Open With” (lsregister) to show apps on system disk (specific disk)

I have a Mac pro with 4 disks, one is for the system (D1) "Open With" takes long time sometimes, and sometimes it shows me apps on other disks (old, backup, other test apps), how I can make OS X to ...
4
votes
0answers
8k views

Why is SpotlightNetHelp denied file-read-data for root?

I'm getting many of these two similar errors on my console. 10/21/15 11:06:29.737 AM sandboxd[140]: ([368]) SpotlightNetHelp(368) deny file-read-data / 10/21/15 11:07:11.000 AM kernel[0]: ...
3
votes
0answers
22 views

How can I customize Spotlight so that if a number (or some pattern matching a regex) is typed, I can execute a command or script?

I want to "augment" Spotlight to do things like: If an integer (^\d+$), open a site, example.com/$0. If a UUID (^\d{8}-\d{4}-\d{4}-\d{4}-\d{12}$), open another site. If a string beginning with "user:"...
3
votes
0answers
80 views

Is there a way to disable the Spotlight hot keys via the terminal?

I am trying to make configuration of a new macOS system as automated as possible. I use Alfred and prefer to use Cmd-Space to trigger the Alfred window instead of the install default of calling off to ...
3
votes
0answers
581 views

Why is Activity Monitor showing two different memory values for the same process?

In Activity Monitor, I am getting two different values for the same process, mds_stores. The usage was around 4 GB an hour ago in the list and the window. It was high because I was reindexing my ...
3
votes
0answers
117 views

Spotlight problem

i used any osx from snow leopard to sierra without any problem and specifically i never had problem with spotlight. After last update with sierra i noticed that my mac is too slow so i switched to ...
3
votes
0answers
717 views

How can I search within .eml files using Spotlight?

I tried searching for terms found on .eml files on my HD using Spotlight, but it never produces results. Is there a way to search within the content of .eml files using Spotlight?
3
votes
0answers
1k views

Spotlight says it is indexing an external drive, but actually no search

Spotlight says it is indexing: % mdutil -s /Volumes/TOSHIBA\ EXT /Volumes/TOSHIBA EXT: Indexing enabled. There is a .Spotlight-V100 folder: . ├── Store-V2 │   └── BC758E30-9A07-4193-BEE7-...
2
votes
0answers
445 views

Spotlight: Unknown indexing state

I'm using a late-2016 MacBook Pro with Touch Bar running macOS 10.13.3. Today, I've been trying to install a Bootcamp partition. Before partitioning and installing Windows, Spotlight worked. However, ...
2
votes
0answers
86 views

Where does Spotlight keeps the excluded folders

Does Spotlight keeps the privacy excluded folders in some special configuration file ? Those folder are configured under system preferences -> spotlight -> privacy I believe it should be ...
2
votes
0answers
119 views

Using 'mdls' does not display all metadata, only some

The short man page of 'mdls' gives every indication that it should list all metadata by default. For some reason, I'm only getting a small portion: vima@artemis[~]: mdls .bash_history ...
2
votes
0answers
1k views

How to force Spotlight to import existing index instead of rebuilding (network share)?

I am having trouble to make Spotlight permanently work for network drives on both Sierra and High Sierra. I have a NAS (WD MyCloud, running some proprietary linux, kinda busybox) on my local network....
2
votes
0answers
126 views

How to properly esca‌​pe spaces in the res‌​ults of mdfind to use them in a for loop

Trying to answer the question Are true dynamic folders (NOT a “Smart Folder” SavedSearch) possible? I stumbled about the problem to loop the results of an mdfind search as quoted or escaped paths. ...
2
votes
0answers
312 views

Old 'unknown' versions of applications appearing in Spotlight search results

When I migrated my old Mac to my new one, I copied some applications over from /Applications on the old Mac. Some of these were App Store apps, which I of course had to reinstall from the App Store in ...
2
votes
0answers
81 views

Finder search of string erroneously returns no results yet substring correctly returns results

Encountering a really bizarre error on a new iMac (5K, Late 2015) that is running Sierra. There is a folder called "Job applications" in my Documents folder that shows up in a Finder search of This ...
2
votes
0answers
77 views

CPU freezes after Sierra update

Last night I managed to update to Sierra. Now there is a problem with the OS X speed. I read that there are Spotlight and iPhotos indexing stuff in the background. However, the main CPU usage comes ...
2
votes
0answers
29 views

My Spotlight opens the Applications folder instead of opening the application

My Spotlight, when I have selected an application, opens the "Applications" folder containing the application, instead of opening the application. I suspect I have a setting somewhere that is set in a ...
2
votes
0answers
559 views

mds_stores prevents me from ejecting Time Machine disk

I know many people have complained about being unable to eject a Time Machine disk. The usual response I have found online is to download and use "What's Keeping Me?" to find out what process is ...
2
votes
0answers
144 views

Spotlight randomly chose Chinese as dictionary language after El Capitan upgrade

After upgrading to El Capitan, suddenly Spotlight dictionary searches only show results in Chinese (I think). I have absolutely no idea why it chose Chinese, as I am not a user of that language. ...
2
votes
0answers
70 views

Is there any way to enable El Captain Spotlight features in unsupported countries?

I know that Spotlight Suggestions and Natural Language Search are only available in a few countries. How does OS X decides if I am in these countries or not? I switched to US locale and region in ...
2
votes
0answers
26 views

Why does spotlight incorrectly calculate modular powers?

Spotlight does not calculate the correct result of (31^x) % 35 where x >= 11?. It shows for x=12 while the correct result is 1. How can this be? It works for all smaller powers of 31 modulo 35.
2
votes
0answers
40 views

On spotlight, typing 'message' autocompletes to Messages but 'messages' goes to Minecraft

That's it. What's going on and how do I fix it?
2
votes
0answers
190 views

Yosemite: is there a way to put back Spotlight under the magnifying glass?

I would like to get the Spotlight prompt under the magnifying glass positioned in the top right of the screen under the menu bar. Yosemite shows it in the middle of the screen. Is this configurable ...
2
votes
0answers
267 views

Spotlight not finding .app created with appify

I've used a script called appify described here https://mathiasbynens.be/notes/shell-script-mac-apps to create /Applications/Emacs.app that runs the actual Emacs.app at /usr/local/Cellar/emacs/24.4/...
2
votes
0answers
121 views

Spotlight always asking if it should reopen already opened xls file

I am a fan of Spotlight and always tend to use it for navigating through my opened apps and docs. However I found out, that when it comes to xls files that are already opened, I get a popup with a ...
2
votes
0answers
87 views

Can I capture Spotlight input and use it in another process?

I'd like to capture everything I type into Spotlight and use the text as input for a script, possibly a new instance of a Services workflow. From that point of course anything is possible; the most ...
2
votes
0answers
225 views

Is it possible to remove Web Searches from Spotlight?

when I am searching anything with spotlight a category Web Searches appears at the bottom of the results. Clicking these links Safari opens and would search the web or wikipedia. But I never use these ...
2
votes
0answers
68 views

Spotlight index only specified folder

I have found ways to disable spotlight indexing for a specific folder. But, how do I do the reverse. I want to disable all indexing enable for just one or two folder I specify. is it possible? How. ...
2
votes
0answers
245 views

Correct Way to Check if Spotlight Has Indexed a Folder's Contents

Okay, so I've written a script that uses mdfind to more quickly match files, however, I need to find the best way to check whether a target directory is indexed or not, so I can fall back to using ...
2
votes
0answers
796 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
0answers
543 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 ...
2
votes
0answers
3k 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
1answer
400 views

Why won't my USB drive power down on eject?

I've just upgraded from High Sierra to Mojave. I have a Lacie Porsche USB-C drive that I use for Time Machine backups. In High Sierra when I ejected the drive, it would power off and I could safely ...
2
votes
1answer
53 views

Weird spotlight issue

For whatever reason, when I launch spotlight, type in "1", "1", "2", spotlight closes automatically. Does anyone else have this issue? Running 10.12.6 (16G1510) on a 2015 Macbook Pro
1
vote
0answers
12 views

Sharing and Permissions - always shows “Fetching” instead of the user name

I am a basic Mac user, so please bear with me. I have a WD MyCloud EX2 to store large files and videos - over 10000 files, so searching is critical for me. The WD NAS, the iMac are connected via ...
1
vote
0answers
24 views

Can't launch JetBrains Toolbox on macOS Mojave 10.14.5

I'm trying to launch the JetBrains Toolbox, but it seems I can't. When I launch via Spotlight search, nothing appears to happen. But when I try to run the launcher manually from the command line, this ...
1
vote
0answers
24 views

How to optimize Mojave for inside a VM?

This may sound like possible duplicate, however it's not. The focus of the question is very specific to OS version macOS Mojave 10.14, with a very specific goal in mind explained below. The host OS ...
1
vote
0answers
26 views

Spotlight solution stops TextEdit files opening

After running the solution for Spotlight re-indexing takes too long or doesn't work I can't save or open TextEdit files on any drive. I get the error: The document “anyfilename” could not be opened....
1
vote
0answers
557 views

Query Spotlight indexing status from Terminal

Is there a way to get the indexing status of Spotlight using Terminal commands? I know that I can just press command+space and type anything to get a progress bar, but I would like to be able to get ...
1
vote
0answers
66 views

Convert MS Word DOC and DOCX file to RTF keeping modification date

I've got a folder full of about 2000 MS Word (DOC and DOCX) files that I need to do complex searches in -- for example, finding documents that contain John but not John Doe. Or 21,000 but not 21,000,...
1
vote
0answers
54 views

How to make Spotlight index shell script wrapper applications?

You can create executable Application Bundles containing a script with the same name (e.g. Example.app and Example.app/Example). Unfortunately, these applications do not seem to get indexed by ...
1
vote
0answers
39 views

How to export the Preview Contents of Spotlight search results?

The notes I had on my local computer have recently vanished. I tried converting the files found in the "Notes backup" location to HTML as suggested by this site but that only yielded 1 useful note. I ...
1
vote
0answers
121 views

“Enable Quick Website Search” saving websites while unchecked?

These are my search settings on MacOS Sierra, Safari 11.0x or Safari 11.1 Beta, no difference. "Enable Quick Website Search" is unchecked. "Include Safari Suggestions" is unchecked. "Include ...
1
vote
0answers
113 views

Spotlight internet search with non-google search engine

I would like to be able to search DuckDuckGo from spotlight. I am aware that pressing ⌘ + B in spotlight will search the web in your default browser (I use Firefox), however this always defaults to a ...
1
vote
0answers
536 views

mds uses disk even though Spotlight indexing is disabled for the disk

I have an external hard drive. I often eject it. I noticed that around 80% of the time I need to force eject the hard drive instead of manually ejecting it. I ran this command to see what was using my ...
1
vote
0answers
1k views

Is it possible to start/stop the mdworker process without disabling Spotlight?

Spotlight indexing has always been a problem on all of my Macs, and therefore, the first thing I always do on a new machine is disabling it. I use a different launcher, so it is OK. Yet, disabling ...
1
vote
0answers
32 views

How to request that spotlight indexes one specific folder only using a command line?

Context I cannot seem to be able to get TimeMachine to backup my HD, because a given directory seems to contain corrupted files so that I get this kind of message in the Console: com.apple....
1
vote
0answers
5k views

What is `IMDPersistenceAgent` and error in `com.apple.corespotlight.log.index`?

I am see this appear repeatedly in my log. Jan 6 18:23:46 johndoe-macbook com.apple.spotlight.IndexAgent[12337]: [com.apple.corespotlight.log] Not allowed to pass in bundle ID Jan 6 18:23:46 ...
1
vote
0answers
706 views

Can't Spotlight search mounted server volume: Unable to perform operation. (-403) Server search enabled

I am trying to get Spotlight to search files on a AFP-mounted NAS on my home network. Per the advice in this question, I run the following command to activate indexing: mdutil /Volumes/name -i on ...