Criteria

Add conditions to a search (size, dates, tags, extension, path, downloads, screenshots, last opened) and join them with "and" or "or".

Website and App Store versions

The Mac App Store edition is coming soon. The website edition has everything. Compare the editions

On this page

Criteria narrow a search beyond its words: "larger than 1 GB", "modified within the last 7 days", "tagged Red". Kinds of items are chosen in the filter, not here.

Add a criterion

  1. Click Criteria in the search's row of pills. The first criterion appears: Date Modified.
  2. Choose the criterion in its first menu, the condition in the second, and type or pick its value.
  3. Click ⊕ after a criterion to add another one below it (its menu lists the criteria), ⊖ to remove it.
  4. Press ↩ or click Search to run the search.

Criteria (2) then says how many there are; click it to hide or show them.

The criteria and their conditions

CriterionConditions
Name, Pathcontains, does not contain, begins with, ends with, is, matches regex
Extensionis, is not (e.g. pdf)
Sizeis greater than, is less than (KB, MB, GB)
Date Modified, Date Created, Date Added, Date Downloadedwithin the last … days, today, this week, older than … days, after, before
Last Openedolder than … days, within the last … days, today, this week, after, before
Tagis, is not: one of the seven Finder colors (a search opened from a tag of the sidebar keeps that tag's name)
Hidden Fileis yes, is no
Screenshotis yes, is no: recognized by the marks macOS, iOS and iPadOS leave in their screenshots, and by the screen size
Downloaded fromcontains, does not contain: a site or address (e.g. mail.google.com)

Some details:

  • after and before take a day: "after the 26th" includes the whole 26th, from midnight; "before the 26th" stops at midnight on the 26th.
  • today and this week are counted when the search runs: a saved search stays right day after day.
  • Last Opened is the date macOS keeps of the last opening (the Finder's), or the file's arrival in its folder or its last change if later. A file never opened counts from its arrival. An app that opens files without telling macOS doesn't change this date.
  • matches regex takes a regular expression, such as ^IMG_\d+.

"and" or "or"

From two criteria on, each line starts with a word. Choose it on the second line:

  • and: items that match all the criteria;
  • or: items that match at least one.

The following lines repeat that word in gray. The words typed in the field count as the first criterion: with "or", an item found by its name or by a criterion is listed.

In a narrow module

In a sidebar, each criterion takes two lines when one isn't wide enough. The advanced search tab has the same criteria with more room: gear › Open in Advanced Search.