Skip to main content

Advanced search syntax (v7)

Listary v7 only

The syntax on this page is currently available only in Listary v7 Beta for Windows 10 and 11. Download Listary v7 Beta or read the English v7 release announcement.

No need to memorize

This syntax is mainly intended for AI. Use this page as a reference or ask an AI to generate a query when needed. A more user-friendly way to access these features will come later.

Every syntax on this page works in both the Listary launcher and the File Search Window. You can combine text, paths, filters, dates, and sizes in a single query.

Exact phrases and exclusions

SyntaxMeaningExample
"exact phrase"Match the complete phrase exactly as written, including the space"project plan" matches 2026 Project Plan.docx, but not Project 2026 Plan.docx
-wordExclude names containing a wordreport -draft
-"exact phrase"Exclude names containing a phrasereport -"old version"

Quoted phrases are case-insensitive but do not use fuzzy matching or Chinese Pinyin matching. An unclosed quote continues to the end of the query.

Extensions

For broad categories such as documents, pictures, or videos, use Listary's existing filters. The syntax below is for matching exact file extensions.

SyntaxMeaningExample
ext:pdfOne extensionext:pdf invoice
ext:pdf;docxAny listed extension; , also worksext:pdf;docx contract
*.pdfShorthand for ext:pdf*.pdf invoice
-ext:tmpExclude an extensionreport -ext:tmp
-*.bakExclude an extension using shorthandproject -*.bak

Extensions are case-insensitive. A leading dot is optional, so ext:pdf and ext:.pdf are equivalent. Compound extensions are supported, for example ext:tar.gz.

Modified date

date: filters by the file's modified time in your local time zone.

SyntaxMeaningExample
date:todayModified since the start of todaydate:today notes
date:yesterdayModified yesterdaydate:yesterday notes
date:weekModified in the last 7 daysdate:week report
date:monthModified in the last 30 daysdate:month report
date:yearModified in the last 365 daysdate:year report
date:2026Modified during 2026date:2026 invoice
date:2026-07Modified during July 2026date:2026-07 invoice
date:2026-07-15Modified on that daydate:2026-07-15 invoice
date:2026-01..2026-06Modified within an inclusive rangedate:2026-01..2026-06 report
date:>2026-06Modified after June 2026date:>2026-06 report
date:<=2026-06Modified up to and including June 2026date:<=2026-06 report

The comparison operators >, >=, <, and <= all work with a year, month, or day. Multiple date: filters are intersected, so a result must satisfy all of them.

File size

size: applies to files only. Folders are omitted because they do not have a searchable file size.

SyntaxMeaningExample
size:>10mbLarger than 10 MBsize:>10mb video
size:<=100kb100 KB or smallersize:<=100kb config
size:10mb..1gbFrom 10 MB through 1 GBsize:10mb..1gb backup
size:1gb1 GB or largersize:1gb
size:>1.5gbDecimal values are supportedsize:>1.5gb

Supported units are b, kb, mb, gb, and tb, using 1,024-based units. If you omit the unit, Listary uses MB. Units are case-insensitive. Multiple size: filters are intersected.

Folder paths and drives

End a folder keyword with \ or / to match it against the parent path rather than the file name. Path parts must appear in the same order.

QueryMeaning
windows\ note“note” inside a folder matching “windows”
work\client\ proposal“proposal” below matching “work” then “client” folders
D:\ photo“photo” on drive D:

How combinations work

  • Different kinds of conditions are combined with AND. For example, ext:pdf date:week report requires all three conditions.
  • Multiple ext: values use OR. ext:pdf ext:docx means PDF or DOCX.
  • Multiple date: or size: conditions narrow each other. Contradictory ranges return no results.
  • Exclusion markers must touch the value: use -draft, not - draft. A hyphen inside a name such as my-file remains an ordinary character.
  • If a value cannot be parsed, Listary ignores that operator instead of stopping the search.

Not supported yet

The current version does not interpret general wildcards such as foo*, *foo*, or ?; Boolean OR (|); regular expressions; name:; or sort:. Only the extension shorthand *.ext is supported.

Negated date and size filters, such as -date:today and -size:1gb, are also not supported. Express the range you want with comparisons instead.