finder - search feature

I would have assumed that when you type in .pdf the finder would have only found files ending in pdf. It doesn't. I get other files ending in other extensions.

Searching for pdf returns files that do not have any characters with the letters pdf as a file name or extension. (I get file names that end in .zip or .css and others.

Searching for *.pdf returns nothing.


I clearly need help understanding how the finder locates files with partial searches.

MacBook Air 13″, macOS 12.6

Posted on Oct 13, 2022 11:54 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 13, 2022 1:19 PM

Understand how to use Spotlight keywords in Spotlight or Finder searches. Just entering the string "pdf" allows Spotlight to search inside documents, PDFs, anything where that "pdf" string can be found. Instead, narrow your search to just PDFs by using either of these searches which will restrict the search to PDFs and not everything else.


kind:pdf
name:.pdf


and if you were looking for a PDF with less than 100 pages that has a blue tag and a PDF keyword named dog:


kind:pdf pages:<100 tag:blue keyword:dog





1 reply
Question marked as Top-ranking reply

Oct 13, 2022 1:19 PM in response to prunk606

Understand how to use Spotlight keywords in Spotlight or Finder searches. Just entering the string "pdf" allows Spotlight to search inside documents, PDFs, anything where that "pdf" string can be found. Instead, narrow your search to just PDFs by using either of these searches which will restrict the search to PDFs and not everything else.


kind:pdf
name:.pdf


and if you were looking for a PDF with less than 100 pages that has a blue tag and a PDF keyword named dog:


kind:pdf pages:<100 tag:blue keyword:dog





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

finder - search feature

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