fd
Fast filesystem search tool that replaces find with regex patterns and smart defaults
fd is a filesystem search tool that serves as a replacement for the traditional Unix find command. It uses regular expressions by default for pattern matching and provides simplified syntax - searching for a pattern requires only fd PATTERN instead of find's more complex syntax like find -iname '*PATTERN*'.
The tool includes several convenience features that distinguish it from find. It performs parallelized directory traversal for faster searches, uses smart case sensitivity (case-insensitive by default, switching to case-sensitive when uppercase characters are present), and respects .gitignore patterns automatically. By default, fd ignores hidden files and directories, though this can be overridden with flags like -H for hidden files or -I to ignore .gitignore patterns.
fd supports command execution on search results through -x for parallel execution and -X for batch execution. It includes placeholder syntax for file manipulation - {} for the full path, {.} without extension, {/} for basename, and others. The tool also provides colored output to highlight different file types and supports glob patterns with the -g flag for exact filename matching.
Alternatives & related tools
ripgrep
Fast line-oriented regex search tool that recursively searches directories with automatic gitignore and binary file filtering
ast-grep
CLI for structural code search, lint, and rewriting that matches tree-sitter AST nodes using patterns written as ordinary code. Written in Rust.
rga
Line-oriented search tool that extends ripgrep to search inside PDFs, archives, documents, and multimedia files
skim
Fuzzy finder written in Rust with interactive search capabilities and shell integration
television
Fuzzy finder for the terminal that searches files, text, git repositories, and custom data sources in real-time
add a badge to your README
Maintain fd? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/fd?utm_source=badge)<a href="https://www.trmn.sh/tools/fd?utm_source=badge"><img src="https://www.trmn.sh/badge/fd.svg" alt="Featured on trmn" height="20"></a>