Questions tagged [spotlight]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
38 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
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
1answer
651 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
21 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
424 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
1answer
37 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
183 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. ...
2
votes
1answer
409 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 ...
6
votes
1answer
2k 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
33 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
143 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 ...
4
votes
2answers
866 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
49 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
165 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 ...
4
votes
3answers
101 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
46 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
98 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
558 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
46 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
67 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 ...
0
votes
1answer
667 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
141 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
111 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 ...
2
votes
1answer
65 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
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 ...
4
votes
1answer
153 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
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:"...
1
vote
1answer
87 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
22 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
216 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
43 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
150 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 ...
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 ...
0
votes
0answers
94 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 ...
4
votes
2answers
194 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 ...
2
votes
1answer
72 views

mdfind -onlyin wildcard without pipe

Can -onlyin contain wildcards? mdfind pattern -onlyin '*bin' I know this works: mdfind pattern | grep bin
4
votes
4answers
3k 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 my Spotlight index. I've been advised the following commands ...
1
vote
1answer
90 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
293 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/...
3
votes
2answers
2k 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 ~/...
2
votes
0answers
450 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
63 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
318 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:...
7
votes
2answers
723 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
27 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
23 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
59 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 ...
5
votes
3answers
349 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 ...