Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Spotlight filter file type and folder

I am trying to find a way to use Spotlight to find a string in a file type “PDF” and specific folder.


Any pointers would be appreciated.

Posted on Apr 13, 2019 10:11 AM

Reply
Question marked as Best answer

I shoved a Pandoc User's Guide (pandoc.pdf) into a PDF folder on my Desktop. The following found the string "Using Pandoc" in it the pandoc.pdf table of contents as the first Spotlight PDF document, and the first folder was the PDF folder:


The Spotlight keywords are bolded, and accompanied by Spotlight metadata.


(kind:folder name:pdf) OR (kind:pdf "Using Pandoc")


Show me the folder whose name contains "pdf" or any PDF whose contents contain the string "Using Pandoc".


Select the item in Spotlight results and press ⌘R to open a Finder window to that location, or press ⌘ to see the path to the PDF. Press return to open the PDF.

Posted on Apr 13, 2019 11:49 AM

Similar questions

2 replies
Question marked as Best answer

Apr 13, 2019 11:49 AM in response to gagsoft

I shoved a Pandoc User's Guide (pandoc.pdf) into a PDF folder on my Desktop. The following found the string "Using Pandoc" in it the pandoc.pdf table of contents as the first Spotlight PDF document, and the first folder was the PDF folder:


The Spotlight keywords are bolded, and accompanied by Spotlight metadata.


(kind:folder name:pdf) OR (kind:pdf "Using Pandoc")


Show me the folder whose name contains "pdf" or any PDF whose contents contain the string "Using Pandoc".


Select the item in Spotlight results and press ⌘R to open a Finder window to that location, or press ⌘ to see the path to the PDF. Press return to open the PDF.

Spotlight filter file type and folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.