Trovatore

A fast tool for searching files by name • source codedonate

Quick Install

curl https://trikko.github.io/trovatore/install.sh | bash

Or download the binary files directly

Usage Examples

Basic usage: trovatore report.pdf

Wildcards: trovatore "re?or*f"

Wildcard Power

Wildcards make searching flexible and powerful

? - Matches any single character
trovatore "report?.pdf"
Matches: report1.pdf, reportA.pdf, report_.pdf
Does not match: report.pdf, report12.pdf
* - Matches any number of characters (including zero)
trovatore "invoice*.pdf"
Matches: invoice.pdf, invoice-2023.pdf, invoice_january_2023.pdf
Combining wildcards for powerful searches
trovatore "20??-*-report.pdf"
Matches: 2023-Q1-report.pdf, 2022-annual-report.pdf, 2024-sales-report.pdf

Features

Smart Search

Ignores "blackhole" folders like node_modules, cache, build, etc. and prioritizes common locations.

No Indexing

Performs real-time searches directly on the filesystem without relying on an indexed database.

Search Modes

Supports various search modes: exact, ends, starts, contains.

trovatore -m ends report.pdf

Shell Compatibility

Works with all shells, just remember to quote wildcards in zsh:

trovatore "re?or*f"