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
3
votes
1answer
102 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
953 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
1answer
135 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
138 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
99 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
68 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
57 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
230 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
29 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
119 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
24 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
331 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
75 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
293 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
2k 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
113 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 ...
5
votes
2answers
393 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
107 views

mdfind -onlyin wildcard without pipe

Can -onlyin contain wildcards? mdfind pattern -onlyin '*bin' I know this works: mdfind pattern | grep bin
5
votes
4answers
7k 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
184 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
686 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
4k 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 ~/...
3
votes
0answers
1k 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
67 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 ...
7
votes
1answer
468 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
1k 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
28 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
29 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
98 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
686 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
110 views

How to launch Steam games from Spotlight?

Is there a way to open Steam games directly from Spotlight?
3
votes
1answer
24 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
168 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 ...
6
votes
4answers
11k 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 ...
4
votes
1answer
359 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? ...
1
vote
0answers
146 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 ...
3
votes
2answers
414 views

Can I create an alias or a shortcut to a file in Spotlight?

I have a file named Chemical Principles the quest for insight 7e by Peter Atkins.pdf but I want it to appear on Spotlight search when I look for the keyword Chemistry textbook. Is that possible?
0
votes
2answers
144 views

How can I search within documents from the Finder?

I scan documents (receipts, etc) PDFs and the software does OCR to make them searchable. I can search them from within Preview, but I'd like to be able to search within the documents in Finder (or ...
4
votes
0answers
236 views

'mdls' does not display all metadata for hidden files

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 ...
1
vote
0answers
46 views

How to disable “Look Up” context menu across macOS? [duplicate]

No matter which browser you use, there's always a Look Up menu when right-clicking any text inside the web browser. I have disabled Lookup/Spotlight suggestions on right-clicking, via System ...
1
vote
2answers
6k views

Macbook Pro mid-2012: All applications are “damaged or incomplete”, question mark on all apps, no icons

Over the past couple days I have experience truly the most bizarre issue with an Apple product I have ever experienced. It has a somewhat long story to it, so I have all relevant details in ...
0
votes
2answers
551 views

Spotlight search result incomplete

Since I changed the directory structures of my Mac, Spotlight has not successfully produced search results for my files or folders. I have tried Killing SystemUIServer Rebuilding the Spotlight ...
1
vote
1answer
17 views

How can I enter the found file finder in Spotlight?

I use Spotlight find my require file see bellow: But how can I enter the file's directory?
2
votes
1answer
147 views

How to make Spotlight promote results to the top?

I recently updated my my Mac from a Macbook Pro 2013 Retina to a Macbook Pro 2017. In the process, I moved from Sierra to High Sierra OS. The most annoying thing about this transition has been the ...
2
votes
1answer
111 views

Search returns only 'older' emails

How do I fix my mail search feature on my Mac? Somehow my mail indexing has gotten "frozen" on my Mac (OS Sierra 10.12.6), so that messages newer than last June do not appear in searches. This ...
3
votes
3answers
229 views

How to find all modified PDF files

I have a folder of 6000+ PDF files (chapters, articles, etc.). I'm trying to weed out/sort those that I've just downloaded but never annotated. Is there a way to do this? Those PDFs that I've never ...
5
votes
1answer
688 views

Smart folder using “or” search?

Is there a way to create a macOS smart folder which uses an "or" search? E.g. find all files which have tags "A" or "B"? It seems that smart folders allow only to search using an "and" command.
2
votes
1answer
219 views

Folder action to append to Spotlight comment for files in Finder

I am using AppleScript and Python together to gather system information about the Macs in my stock as well as adding some supplemental info to the Spotlight comments field. Specifically, AppleScript ...
3
votes
0answers
99 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 ...
5
votes
3answers
2k views

how can I filter out unwanted search results in Alfred (ie node_modules folder, caches)

Been a user of Alfred for a long time, however whenever I search anything I get a lot of FUD results due to alfred also indexing all my web project node_modules directories. Is there any way to path-...

1 2 3
4
5
16