el: search your Mac from Terminal

el is the command-line companion to Everything Locator. It sends your search to the app's index, so results come back as fast as in the app's window, in the same Everything-style syntax, as plain paths you can pipe into other commands, or as JSON or CSV.

Version 1.0.1. Needs Everything Locator 1.4 or later with Everything Locator Pro, on macOS 15 or later. Apple silicon and Intel. To use Everything Locator from Claude, Codex, Gemini and other AI agents, see AI agents.

Install

Download el-1.0.1.pkg · 166 KB

  1. Open the downloaded el-1.0.1.pkg. The installer puts el in /usr/local/bin, which every Mac shell already searches.
  2. In Everything Locator, open Settings › AI Agents and turn on Let AI agents on this Mac search with Everything Locator.
  3. Choose el (Terminal) next to Set up, click Copy with Key, paste the line into Terminal and press Return. el answers with how many items the app has indexed.

Then try el search report ext:pdf. Everything Locator must be running for el to work; turn on Open at login in its General settings if you use el in scripts.

Prefer to put it somewhere yourself? el-1.0.1.zip holds the same signed and notarized binary. SHA-256:

el-1.0.1.pkg  a7ccf627dcaed3f7089c11f860ea9ed34a8cfcf8688d9fb71b3500cabe0cf29b
el-1.0.1.zip  396f9420abbfe584229f1c3db34d948856b4b530553767f89d6c1661936ff455

What it looks like

$ el search report ext:pdf dm:thisyear
/Users/demo/Documents/Quarterly report.pdf
/Users/demo/Documents/Taxes/report-2026.pdf

$ el size ~/Movies -n 3
    12 GB  /Users/demo/Movies/Trips/
   4.1 GB  /Users/demo/Movies/screen-recording.mov
   850 MB  /Users/demo/Movies/Family/
  17.2 GB  /Users/demo/Movies/  (total)

Commands

CommandWhat it does
el search <query>files and folders that match, one path per line
el size [folder]what takes the most disk space inside a folder (default: the current one), and its total
el dupes <query>files with the same content among a search's results, largest first
el info <path>kind, size, disk space and dates
el reveal <path>shows the items in a Finder window
el statuswhether el can reach the app, and which folders are indexed
el syntaxthe whole search syntax, with examples
el help [command]every option, in Terminal

The words after el search are one search in the Everything search syntax: pic: dm:lastweek, folder: node_modules, '*.mov' 'size:>1gb', content:invoice ext:pdf (PDFs whose text has the word, answered by Spotlight). Put a word that holds *, ?, >, <, |, ! or \ in single quotes, so the shell passes it on as typed instead of reading it as a pattern or a redirect. Quote a phrase to keep it together: el search "annual report".

Search options

OptionEffect
-n 20at most 20 results (default 100)
-a, --allevery result
-s sizesort by name, path, size, modified or created; sizes and dates come largest or newest first (--asc reverses)
--in ~/Projectsonly items inside that folder
-lsize and date before each path
-0paths ended by NUL instead of a new line, for xargs -0
--json, --csvevery detail, for scripts and spreadsheets

In scripts

# the ten largest videos, with sizes
el search -l -s size -n 10 video:

# logs over 100 MB, listed by ls (names with spaces are safe)
el search -0 --all ext:log 'size:>100mb' | xargs -0 ls -lh

# duplicates in Downloads, as a spreadsheet
el dupes --in ~/Downloads --min 10mb --csv > duplicates.csv

# names and sizes with jq
el search --json ext:psd | jq -r '.items[] | "\(.bytes)\t\(.path)"'

The exit status is 0 when something was found, 1 when nothing was, 2 for a mistyped command and 3 when el could not reach the app, so if el search -n 1 "invoice 2026" >/dev/null; then … works as you would expect. Notes such as "100 of 2,345 results" go to standard error, and only when it is a terminal, so pipes get the paths alone.

Privacy

el talks only to Everything Locator on the same Mac, at 127.0.0.1, with the key you copied from the app. Nothing goes over the network. The key is saved in ~/.config/everything-locator/el.json, which only your user account can read; New Key… in the app's settings turns old keys off. el sees what the app's window shows (names, paths, sizes and dates), never what is inside files; a content: search tells it which files contain a word. It sees only the folders you allow in Settings › AI Agents.

If something goes wrong

Uninstall

sudo rm /usr/local/bin/el
sudo pkgutil --forget us.cnnex.everythinglocator.el
rm -r ~/.config/everything-locator

Questions: [email protected].