Finding specific things
PDFs are the files people lose most, because they arrive from elsewhere with names somebody else chose.
Date beats name for received documents. ⌘F in Finder → + → Date Added → within last → 3 months, plus Kind → PDF. Sort by date and scan.
Spotlight searches PDF text where a text layer exists:
mdfind -onlyin ~ "policy number"
This fails on scans, which are images. Check whether a specific file has text:
mdimport -d2 -t ~/Downloads/scan.pdf | head -40
No text means no content search until it has been through OCR.
It is probably not in Downloads at all — attachments open from Mail's container inside ~/Library, which Spotlight will not return. Search Mail itself (⌥⌘F), or:
find ~/Library -iname "*.pdf" -mtime -30 2>/dev/null
macOS cannot search it. Either plug it in, or use a tool that keeps unmounted volumes in its index.
find ~/Library for the container foldersNot without OCR. Preview can add a text layer on recent macOS versions; most PDF apps offer it too.
Sandboxed apps write into their container under ~/Library, which Spotlight excludes.
Everywhere keeps track of every file on your Mac — including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.
Download for Mac