brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: hold Option in Finder search to add OR and NOT rules

Finder
~/tips/tip-macos-finder-search-option-boolean

Finder search, hold Option, click More

Adds OR and NOT rules to a Finder search by holding the Option key.

Finder search criteria are strict by default: every rule you add must match. That works until you want PDFs that are not drafts, or files that are images or movies.

Apple hides the answer behind the Option key. Search in a Finder window, then add rules with the Add button below the search field. Press and hold Option and that button changes into a More button. Click it and you get a nested group of rules where you can use OR, AND or NOT.

Finder search, hold Option, click More

For example: search a folder, set the first rule to Kind is PDF, then Option-click More and set the new group to exclude files whose Name contains “draft”. You end up with the final PDFs only. The far-left pop-up menu of each rule picks the attribute, and Other in that menu opens the full list.

Apple’s guide notes that without this, an item must match all your criteria to appear. That explains a lot of empty results when people stack rules that can’t all be true at once.

The caveat: nested groups are easy to get wrong and the window doesn’t show it clearly. When the result looks odd, I’d remove the group and build it again. Once it works, click Save, and the whole thing becomes a Smart Folder you can reuse.

Further reading: Search for files on Mac (Apple Support)

More Finder tips Option-Command-Y Quick Actions in the Finder preview pane rotate images and make PDFs Shift-Command-P show or hide the Preview pane Command-Up Arrow open the enclosing folder click the Trash in the Dock All Finder tips (37) All topics

Link