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.

2
votes
4answers
40 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 ...
1
vote
0answers
18 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
24 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
0answers
16 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
80 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
23 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
23 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
31 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 ...
0
votes
1answer
29 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
21 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
32 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
26 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
19 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
6 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
15 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
19 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
24 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
12 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
20 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
108 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
10 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
32 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
20 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
69 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
35 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 ...
3
votes
0answers
160 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
31 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
46 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
28 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
50 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
480 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
27 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: ...
0
votes
0answers
24 views

Preventing Spotlight from indexing the contents of PDF documents

I have a lot of PDFs of academic material, and name the files using the names of the authors. Since Spotlight indexes based on the material of PDFs, and technical terms in science are named after ...
1
vote
1answer
13 views

Search spotlight for iTunes music?

Can I play a song from spotlight? Maybe not default Apple feature, but is there a flashlight plugin for this or something?
0
votes
2answers
48 views

Is there something special about the .Spotlight directories/data?

I am nearly out of disk space and trying to remove old/unused files. I ran du -k -d 2 in my home directory to attempt to identify candidates and found the following: 4 ./.Spotlight-V100/...
1
vote
2answers
184 views

Finder not searching files in ~/Library and /Library

I am using a Macbook Air with macOS High Sierra. When I install a third party application and later delete it, I have to remove files stored by it in Application Support, Preferences etc. in ~/...
0
votes
0answers
148 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, ...
1
vote
1answer
50 views

Spotlight only working from the finder

When I search from the finder spotlight is working as expected. When pressing cmd+space and entering the same query I only get results from Safari's history. Edit The index is OK and the results ...
6
votes
1answer
133 views

Is there a way to get Spotlight to search for xattr?

I like to tag files with xattr, e.g. xattr -w user.foo bar myfile. Is there a way that I can then use Spotlight to search for a given xattr key (or key-value pair)? For example, if I put foo or foo:...
6
votes
2answers
146 views

Count pages in PDF (for non-technical, mac using person)

I have a person who is looking to count pages of her perhaps 2-3000 PDFS. Unfortunately I am away and not sure what to do. She is non-technical. She needs a total count, of all the pdfs, combined (it ...
2
votes
3answers
25 views

Pages update gone wrong

When I spotlight search for Pages on my mac, it opens "pages panel" but not pages. The only way I can find the Pages application is through Launchpad. Is this something that I can fix in some way?
1
vote
1answer
16 views

When is the metadata store updated?

I'm trying to understand how Spotlight indexing works - in the documentation here, Apple says that the kernel notifies the Spotlight engine which then attempts to update the metadata store. If this is ...
1
vote
1answer
24 views

How can I increase font size in Spotlight

When I write 7/3 in spotlight it automatically shows result but the font is too small and doesn't have enough contrast. Is there a way to increase the size of the result font or all Spotlight fonts in ...
3
votes
3answers
57 views

Avoiding Spotlight to spin up external drive

I have Mac Mini with an external hard drive. The external drive is indexed with Spotlight. Whenever I use Spotlight to start an app on the local machine, the external drive spins up, because obviously ...
3
votes
1answer
39 views

How to launch Steam games from Spotlight?

Is there a way to open Steam games directly from Spotlight?
3
votes
1answer
18 views

How comes Spotlight started to show results half in English?

I am using High Sierra 10.13.3 and my system language is definitely set to Italian: When I want to open the System Preferences (which are called Preferenze di sistema) I usually open Spotlight and ...
2
votes
0answers
34 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
3answers
912 views

Spotlight shortcut (cmd+space) no longer working

I commonly use the cmd-space shortcut to bring up the spotlight, but as of yesterday it no longer works. I did not knowingly update my software beforehand, I do not have any conflicts in the keyboard ...
2
votes
1answer
64 views

Spotlight Search by Full Path?

When performing a Spotlight search, either through the Finder or via terminal commands, is it possible to filter results against the full-path of a file, or at least the name of it's parent folder? ...