Find a file on Mac when you don't remember the name
Search with what you do remember: roughly when you last worked on it, what kind of file it was, a word that may be in the name, and where it might be. With Everything Locator you can say that to an AI agent such as Claude or Codex, which turns it into a precise search of your whole Mac, or type the search yourself; with only what comes with the Mac, Finder search can combine the same clues.
Ask an AI agent to search for you
Everything Locator 1.4 lets AI agents on your Mac search its index: Claude Code, Claude Desktop, the Codex app and the codex command, Gemini CLI, Antigravity and other MCP apps. Describe the file the way you remember it. The agent writes the search, Everything Locator answers in milliseconds, and the agent shows you what it found and can open a Finder window with the files selected.
- In Everything Locator, open Settings › AI Agents and turn on Let AI agents on this Mac search with Everything Locator.
- Next to Set up, choose your app and follow its step: for Claude Code, click Copy with Key and paste the line into Terminal; for Codex, paste it into
~/.codex/config.tomland start Codex again; for Claude Desktop, click Save Extension…, open the file and click Install. Every app is covered step by step on AI agents. - Ask, for example: "Find the PDFs I downloaded this week."
Searching in the app is free to try: a 14-day trial of every feature; after that a search shows how many files match, and a one-time purchase shows them. Searching from AI agents and Terminal needs the optional Everything Locator Pro subscription, with the first month free.
What the agent sees: names, paths, sizes and dates, never what is inside a file (a content: search tells it which files contain a word), and only in the folders the app indexes (or the ones you list under Agents can see only these folders). The search runs on your Mac; the agent's model sees the results, as it sees anything else in the chat. No tool moves, renames or deletes files.
What you remember, and the search it becomes
Each of these is a request you might make and the search an agent can run for it. You can also type the same search into Everything Locator's search field yourself.
You remember roughly when
You say: "Find the spreadsheet I worked on in early October. The name had budget or forecast in it."
ext:xlsx;numbers;csv budget|forecast dm:2026-10-01..2026-10-15
You remember what kind of document it was, and where
You say: "Where's the signed lease PDF from last year? It's probably in Downloads or Documents."
ext:pdf lease|contract dc:2025 <~/Downloads/|~/Documents/>
You remember it was big
You say: "Show me video files over 1 GB I haven't changed since before 2025."
ext:mp4;mov;mkv size:>1gb dm:<2025
It is on a drive that is not plugged in
You say: "Find the RAW photos from the Japan trip on my external SSD."
ext:cr3;arw;nef japan "/Volumes/Photos SSD/"
You remember only what it does
You say: "I wrote a Python script that resizes images, but I don't remember which project it's in."
ext:py resize|thumbnail
Why these work: dates (dm: modified, dc: created) and sizes are filters, not words in the name, so you need only a time window or a size and a guess at one word. | means OR, so one search covers two words you are not sure about, and a term with a / matches the folder. A drive that is not plugged in stays in the results, grayed out in the app and marked offline for agents, so you know which drive to connect. The whole syntax is in the Everything search syntax cheat sheet; it is the one from Everything by voidtools, so Windows habits carry over.
The index stays current as files change without getting in the way: over 11 hours on our Mac, with 4.6 million items indexed, the app averaged 0.6% CPU.
From Terminal: el
The el command, part of Everything Locator Pro, runs the same searches on the same index from Terminal and prints one path per line, so you can pipe the results into other commands. On our Mac, searching the home folder for every name containing "invoice":
| Command | Time | Results |
|---|---|---|
find ~ -iname "*invoice*" | 8 minutes 6 seconds | 624, plus 593 folders it had no permission to read |
mdfind -onlyin ~ -name invoice | 1.9 seconds | 599, from the Spotlight index, which skips hidden folders |
el search -a invoice | 0.7 seconds | 626 |
# the PDFs with invoice in the name changed this month
el search ext:pdf invoice dm:thismonth
# the 20 largest videos over 1 GB
el search -n 20 -s size ext:mov 'size:>1gb'
# what takes the most space in Movies, and identical files in Downloads
el size ~/Movies -n 3
el dupes --in ~/Downloads
Put a word with >, < or | in single quotes so the shell passes it on as typed. el help lists every option. Everything Locator has to be running.
With what comes with the Mac
- Finder search: press ⌘ F in a Finder window, click This Mac, then + to add rules such as Kind is PDF, Last modified date is within the last 30 days, or Name contains budget. Hold ⌥ Option while clicking + to combine rules with Any or None. Save keeps the search as a Smart Folder.
- Recents in the Finder sidebar lists the files you opened most recently, which is often enough for something from last week.
- Spotlight (⌘ Space) also finds words inside documents. Add
kind:pdfto a word to see only PDFs. - Terminal:
mdfindasks the Spotlight index, andfindreads every folder, which is thorough but slow on a whole home folder, as the table above shows.
Finder and Spotlight use the Spotlight index, which leaves out hidden files, ~/Library and the inside of apps; if they come up empty, see how to find files on Mac and Finder or Spotlight search not working.
Tips for describing a file
- Say roughly when: "last week", "in March", "before 2025".
- Say what kind of file: a PDF, a spreadsheet, a video, a photo, code.
- Give any word that might be in the name, even a guess, and an alternative if you are not sure.
- Say where it might be: Downloads, a project, an external drive.
- Say if it was big or small; for big files, see how to find large files on Mac.
FAQ
Can I find a file on Mac without knowing its name?
Yes. Search by what you know instead: the date it was changed or created, its type, its size and the folder it was in. Finder search combines these as rules, and Everything Locator combines them in one line, such as ext:pdf dm:lastweek.
Does the AI agent read my files?
Not through Everything Locator. It gives agents names, paths, sizes and dates only, from the folders you allow, and none of its tools opens, moves or deletes a file.
Which AI apps can search with Everything Locator?
Claude Code, Claude Desktop, Codex, Gemini CLI, Antigravity and other apps on the same Mac that connect to MCP servers. It needs Everything Locator 1.4 or later with Everything Locator Pro.
Can it find a word inside a document?
Yes, on the Mac. content:invoice finds the files whose text contains the word, through Spotlight, and you can add what else you remember, as in content:invoice ext:pdf dm:lastmonth. It finds only what Spotlight has indexed, the same files as Spotlight or Finder search with a Contents rule.
Can it find files on an external drive that is not connected?
Yes, if the drive was indexed before you unplugged it. Its files stay in the results, grayed out, so you know which drive to connect.
Search with what you remember
Everything Locator finds files on your Mac by name, type, size and date in milliseconds, for you and for your AI agents.