agentsclimarketplace

File search cli

Skill wsaaaqqq/file-search-cli

Use when needing to quickly locate files on Windows by name, path, extension, size or date modifiedFrom its SKILL.md

Install
npx -y skills add wsaaaqqq/file-search-cli

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.5 KB, 967 tokens by cl100k_base, as published. Nobody here has run it

File Search CLI

Overview

Use Everything's es.exe CLI to rapidly search for files by name, path, extension, size, or modification date. Requires Everything to be running.

Prerequisites

  1. Download and install Everything: https://www.voidtools.com/zh-cn/downloads/
  2. Download ES (CLI): From the same page, scroll to "ES (Command line interface)" section and download es.exe
  3. Add es.exe to PATH: Move es.exe to a directory in your system PATH, or use full path
  4. Everything must be running in the background for IPC to work

Quick Reference

# Basic search (finds files containing text in name)
es.exe <search_term>

# Find by extension
es.exe *.pdf
es.exe *.py

# Limit results
es.exe <search> -n 20

# Sort results
es.exe <search> -sort size       # by size (largest first)
es.exe <search> -sort dm         # by date modified
es.exe <search> -sort name       # by name (default)

# Search in specific path
es.exe <search> -path "C:\Projects"

# Only files or only folders
es.exe <search> /a-d              # files only
es.exe <search> /ad              # directories only

# Regex search
es.exe -r "file\d+\.txt"

# Case sensitive
es.exe -i "MyFile"

# Show only results with path
es.exe <search> -p

# Export formats
es.exe <search> -csv > results.csv
es.exe <search> -txt > results.txt
es.exe <search> -efu results.efu

# Combine options
es.exe "*.py" -path "C:\src" -n 50 -sort dm

Common Patterns

TaskCommand
Find by extensiones.exe *.md
Find in folderes.exe notes -path "C:\Users"
Largest fileses.exe * -sort size -n 10
Recent fileses.exe * -sort dm -n 20
Find by sizees.exe /a尺寸 > 10MB
Only fileses.exe <search> /a-d
Only folderses.exe <search> /ad

Options

OptionDescription
-n <num>Limit to num results
-sort sizeSort by size
-sort dmSort by date modified
-sort nameSort by name
-sort dcSort by date created
-sort-ascendingAscending order
-sort-descendingDescending order
-path <path>Search under path
-parent <path>Search in parent only
-rRegex mode
-iCase sensitive
-pMatch path and filename
-o <offset>Offset for pagination
-csvCSV output
-txtText output
-efuEverything File List
/a-dFiles only
/adDirectories only
/a[attributes]Filter by attributes
-timeout <ms>Wait for DB load
-pausePause on full screen
-hide-empty-search-resultsHide results if no search text

Return Codes

CodeMeaning
0Success
1Failed to register window class
2Failed to create listening window
3Out of memory
4Missing argument
5Failed to create export file
6Unknown argument
7IPC query failed
8Everything IPC window not found (ensure Everything is running)

Tips

  • Omit -n to get all results
  • Use -timeout 5000 if database is still loading
  • Add -save-settings to remember your preferences
  • For PowerShell, escape special chars with backtick: ^
  • Default sort is ascending for size/date, alphabetical for name

Troubleshooting

"Everything IPC window not found" → Ensure Everything is running in the background

No results → Check if Everything has indexed the location (Options → Indexes)

What ships with it: 2 files

1.4 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,401. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.