Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [spotlight]

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

3
votes
0answers
12 views

Does anyone find that spotlight forgets docx files every day?

For setup, we've been dealing with spotlight issues for 4 years on two MacBooks with my wife's files. We've done all the usual tricks (for example spotlight privacy tab, sudo mdutil -E / ) and they ...
4
votes
2answers
123 views

Anyway to obtain list of Application that can open a file via Terminal?

In the finder you can control click on a document to get the contextual menu, this has 'open with..' with a submenu of all apps that can open that document. Is there a way to get this list via ...
0
votes
0answers
15 views

Launchpad rearranges itself. Mojave 10.14.1

My launchpad has a page of my most used apps (page 1) and folders for unused apps (page 2). Every time I restart my Mac or run killall Dock the Launchpad get rearranged so the folders are on the first ...
2
votes
0answers
28 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 ...
-2
votes
1answer
11 views

MacOS Spotlight does not search djvu files

each time I search for a djvu document file, the spotlight does not index it. I cannot see the files but are there in finder. How can I solve this problem? Maybe it depends on the filter I made on the ...
0
votes
0answers
19 views

Mojave Spotlight opens duplicates/copies of documents instead of the original

My father recently upgraded his MacBook Air to macOS Mojave. Ever since, when opening documents directly from Spotlight (but so far only from Spotlight—this does not happen when opening from a Finder ...
0
votes
1answer
22 views

Spotlight stopped working

For some reason my spotlight shortcut stopped working yesterday my MBP running Sierra 10.12.6 I am not using BetterTouch tools, it is a very non customised install of OS X: Spotlight shortcut (cmd+...
2
votes
1answer
45 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
0
votes
1answer
76 views

Spotlight Repeatedly Silently Crashing

I have two Macs (10.12.6) on which spotlight is repeatedly silently crashing. What I mean by this is as I'm typing into spotlight, the search bar goes away, the search icon disappears from the menu ...
0
votes
0answers
18 views

Spotlight is disabled but “._file_name” still get created on external drives that I plug in [duplicate]

I want to prevent my MAC from creating ._file_name files on external memory drives that I plug into it. I think I've turned off Spotlight completely. However, such files keep getting created. How to ...
0
votes
1answer
52 views

How to debug the cause of an enormous Spotlight index?

My Spotlight index (MacBook Air 13, 10.13.6) has been growing out of control requiring me to delete and rebuild at least twice per day. I have about 70 Gb available on my HDD, and the Spotlight ...
0
votes
0answers
32 views

Disable Spotlight indexing but not searching

I have an 2009 Mac mini running Yosemite which is creaking a little thanks to our old friend, Spotlight. Frequently the disk will start thrashing as mds_stores et al kick in. I'd like to be able to ...
0
votes
1answer
17 views

Spotlight not finding folders, files, or apps in High Sierra

I can't be sure it's related but after I turned on File Encryption Spotlight just stopped working on files folders and apps. I tried all the advice I saw in this post on this forum and more, including ...
0
votes
1answer
73 views

Spotlight crashes when entering a specific query string

I have a folder on my mac which I access occasionally, let's say its name is FolderABC. I usually hit CMD + Space to bring up Spotlight, then type the name into it and it will be the first result. ...
1
vote
1answer
59 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 ...
3
votes
1answer
152 views

Spotlight re-indexing takes too long or doesn't work

Issue After forcing Spotlight to reindex, no files or directories can be found. Setup I've got a MacBook Pro 15" 2017 with a 512 GB SSD: 250 GB main volume (36 free) and a BOOTCAMP partition (not ...
0
votes
1answer
21 views

Spotlight “Privacy” and wildcards

I would like to have Mac Spotlight avoid indexing volumes with the name prefix of "backup". As in "backupA", "backupB". and "backupXYZ123". Is there any way to use wildcard in Spotlight Privacy? As in,...
2
votes
4answers
54 views

Is there a way to get OSX Finder to search through .ts (textscript) files?

I really like using OSX's finder to quickly find a particular file and its content based on search, I need to work on in my web projects. We often have 100s upon 100s of separate files and I need to ...
2
votes
1answer
82 views

Command + Space Spotlight shortcut stopped working

I don't know what made it stopped working. I use BetterTouchTools, but not command has that shortcut and even when I close it, Command + Space still doesn't work. I checked System Preferences → ...
2
votes
1answer
35 views

Gatekeeper notification doesn't show location of application

I just received a system notification that an application I downloaded with Homebrew was not allowed to launch. This is fine, but the notification gives me no information about where this app resides. ...
2
votes
1answer
47 views

Excluding specific file names and types (not categories, not folders) from Spotlight

How can I completly and permanently exclude specific files (with names like readme or general file formats like .php) from Spotlight search? One practical example: I have important notes saved as ...
5
votes
3answers
87 views

Hide Everything For Cmd+Space Spotlight Search but Applications

I am trying to use Spotlight as a way to solely launch my most used applications. A lot of them have similar names, so for me Spotlight displaying in a linear down list works much better then lets ...
2
votes
1answer
28 views

Why does Spotlight think “CHROM” matches Chrome, but “CHROME” matches Calendar?

This behavior has been consistent for months, maybe even years at this point, and I finally decided to make a screen recording of it just to have some verification that it's really happening. The ...
1
vote
1answer
34 views

Spotlight finds Notes via magnifying glass, but not via Finder “Find” or mdfind

I discovered that Spotlight can find my Notes if I just use the magnifying class icon in the main menu bar, but not if I open a Finder window and use command-F. I've always assumed these were just ...
2
votes
1answer
61 views

Teaching mdworker some manners

Ever since my SSD upgrade, I'm having troubles with my MBP Mid-2010 shutting down "randomly". To be more precise, it seems to be caused by mds/mdworker utilizing 100% of my CPU. As a fix I have ...
1
vote
1answer
35 views

Spotlight won't index /Applications

I noticed some apps missing from Spotlight, so I tried to force a reindex by adding /Applications to the exclusion list, then removing it. Now it's even worse, as none of my apps are indexed. How do I ...
2
votes
1answer
26 views

Is it possible to customize the default order of Spotlight's results?

One day when trying to open Xcode.app with Spotlight, I accidentally told it to open Xcode Server Builder.app. Now every time I type in Xcode into Spotlight, the first result it gives me is Xcode ...
1
vote
1answer
122 views

Samba Share is mounted and shows indexing enabled, but why doesn't work?

I am running macOS High Sierra version 10.13.6 (17G65). I enabled indexing on samba share by using sudo mdutil -i on command. The result: $ sudo mdutil -s /Volumes/e\$/ /Volumes/e$: Indexing ...
0
votes
0answers
59 views

Mac File System Tagging questions regarding external USB drive, SMB shares and indexing

(1) I googled mac tagging. I know the tagging was stored in HFS+ file system's extended attribute. But when I create tags in SMB shares (which are ext4 and ntfs on the network), I find out the tags ...
0
votes
1answer
40 views

Set default priority of mdworker processes

How can I reduce the impact of spotlight indexing by pushing the priority down? Spotlight is both useful and annoying. When I build code on my mac, I may generate 1000s of new files. I can tell ...
0
votes
0answers
9 views

Spotlight plugin for DjVu files does not search files with text in Cyrillic

On a Mac with OS X El Capitan, I installed DjView-4.10.6. It automatically created the plugin: /Applications/DjView.app/Contents/Library/Spotlight/DjVu.mdimporter I launched it by running mdimport -...
1
vote
0answers
18 views

Alfred doesn't see Simulator app

I installed Alfred on a 10.13 machine a few days ago and it doesn't see Simulator app. I tried to reinstall Alfred, clear Alfred cache multiple times, rebuild Spotlight index. No luck. It works ...
1
vote
0answers
26 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,...
0
votes
0answers
30 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 ...
0
votes
0answers
13 views

Make Spotlight never index file contents in the first place

How do I make Spotlight be as lightweight as possible, in the sense that it should not index contents of files, which is very heavy work compared to just indexing file names. This question says how ...
1
vote
0answers
23 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 ...
4
votes
1answer
113 views

Stop macOS from accessing external drive at night

I have Mac Mini Mid 2011 with macOS 10.13.5 with a data drive. When I wake up at night, the drive is running. I ran fs_usage and was surprised to find macOS accessing the drive a lot. How do I stop ...
3
votes
0answers
15 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:"...
1
vote
1answer
38 views

use mdfind to get list of matches with context?

I want to search a folder of PDFs to find a particular string and get back a list of matches with a little of the surrounding context. Using: mdfind -onlyin ~/Dropbox/PDFs 'term' >> ~/Dropbox/...
1
vote
1answer
21 views

How to find tagged PDFs

I have to organize a lot of PDFs and it's possible to add Tags to PDFs through the preview app (not the filesystem tags like red/blue/green). But how to find them? When I open the Spotlight and try to ...
3
votes
1answer
89 views

AppleScript to find files by exact name match from an Automator variable

I have a workflow that gets the track name of a single track in my mp3 player and stores it in a variable. I then use this in the Spotlight action to find that track in my iTunes Library, but the ...
1
vote
1answer
34 views

Spotlight Date calculator

Do you know the way (system pref., additional app etc.) to enable Date calculator inside Spotlight app? I'm using regular calculator a lot but I would like to have there an option to add one time ...
0
votes
1answer
57 views

Is it safe to shut down Mac while Spotlight is still indexing? [closed]

Had some issues with Finder and Spotlight not finding files. Used the instructions to rebuild Spotlight index in Mac. Put entire Macintosh HD there. Checked and now it seems to find all the files ...
4
votes
0answers
785 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 ...
0
votes
0answers
53 views

Spotlight not indexing full drive on High Sierra

I'm running 10.13.5. Spotlight wasn't finding stuff, like recent email and so on, so I rebuilt the Spotlight index for the boot volume (APFS) via mdutil. mdworker and such churned for a while, but ...
2
votes
1answer
68 views

Spotlight search to Bluetooth settings hindered by “Bluetooth file exchange”

My issue is as small as they get, but I like optimising my workflow. So I go to my Bluetooth settings multiple times a day; to switch headphones or when some other wireless peripheral acts up. I do ...
1
vote
0answers
39 views

Search index not working - finder, spotlight - rebuilding not possible

Spotlight search and finder search are both not working anymore on OS 10.13.5. Now results are showing up at all. This is what I tried: Rebuild the index as explained multiple times in stackoverflow ...
2
votes
1answer
55 views

mdfind -onlyin wildcard without pipe

Can -onlyin contain wildcards? mdfind pattern -onlyin '*bin' I know this works: mdfind pattern | grep bin
3
votes
4answers
1k views

How do I rebuild the Spotlight index

Apple Mac Pro (early 2009) Firmware 4.1 -> 5.1 macOS 10.13.6 beta Alfred 3.6.1 Due to problems with Alfred, I am trying to rebuild the Spotlight indexing. I am advised that the following steps ...
1
vote
0answers
30 views

Spotlight Reindexes on each restart OSX 10.10.5 MBP 13" 2012

I have OSX 10.10.5, Suddenly, I started having performance issues on my Mac. Upon investigating, I found out, OSX was re-indexing Spotlight on each restart. So far i have tried following things: ...