Skip to main content
Version: V7 (Beta)

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.

In operators such as ext:, date:, and size:, the full-width Chinese colon : also works, for example ext:pdf.

For example, the query below combines a folder, extension, and keyword:

Combining a path, extension, and keyword in the File Search Window

Keywords and spaces​

Separate words with spaces. A result must contain every word, in any order, and each word can be any part of the name.

QueryFindsDoesn't find
invoice 20262026_Invoice_March.pdfInvoice_2025.pdf
portAnnual Report.docx

Case and accents don't matter. Chinese names can also be found by Pinyin or initials, see fuzzy matching.

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.

Extension, date, and size conditions can be combined. The Size and Date Modified columns show the size and modification time of each result:

Combining extension, modified date, and file size conditions

Folder paths and drives​

End a folder keyword with \ or / to match it against the parent path rather than the file name. Parts written together, like work\client\, must appear in that order. Folders written as separate words, like work\ client\, can be in any 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:

The path column in the File Search Window shows whether each result is inside the requested folder:

Limiting the search to a folder path

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 (|); 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.

If you're used to regular expressions​

Listary doesn't support regular expressions, and that's on purpose. We think a few plain words are a better way to find a file than a pattern. Two things cover most searches.

Spaces. Type the parts of the name you remember, separated by spaces, in any order. Say you need the March 2026 invoice, but you don't remember whether the file is Invoice_2026_03.pdf or 2026-03 invoice (final).pdf. Type invoice 2026 03 and both turn up.

Folders. If you remember which folder a file is in, add the folder name with \ at the end and it's even easier to pin down. For D:\Projects\Acme Corp\Contracts\2026 Proposal.docx:

  • acme\ proposal: part of the folder name is enough
  • proposal acme\: the folder can go anywhere in the query
  • acme\ contracts\ proposal: write several folders, in any order
  • D:\ proposal: only drive D:

See Folder paths and drives for more.

Here's how common regex searches translate:

RegexIn ListaryNote
report.*2026report 2026Any order
(?i)reportreportCase never matters
\.pdf$pdf or .pdfThe extension is part of the name, so this usually works
\.pdf$ext:pdf or *.pdfOnly files that really end in .pdf
\.(pdf|docx)$ext:pdf;docx
^((?!draft).)*$-draft
work\\.*proposalwork\ proposal"proposal" anywhere below a folder named "work"
^D:\\.*photoD:\ photoOnly drive D:

If there's a search you can't express this way, tell us on the forum.