Description
fd is a program for finding entries in your filesystem. It is a simple, fast and user-friendly alternative to the find command, and while it does not try to match all of find's features, it has sensible defaults for most uses. Its syntax is shorter: fd PATTERN searches for files whose names contain the pattern, where find would need a -iname option with wildcards. Patterns are regular expressions by default, with glob patterns also supported. Directory traversal is parallelised, which makes it fast, and file types are coloured in the output, as ls does. It has smart case: the search ignores case unless the pattern contains an uppercase letter. Hidden files and directories are skipped by default, and patterns from a .gitignore file are respected by default. It can run a command on each result in parallel, and the -e option filters by file extension. The README includes a demo and examples for simple search, regular expressions, root directories, listing all files and extension searches. It suits anyone who searches files from the command line and wants a quicker, easier command than find.…
Highlights
- Shorter syntax than find
- Regular expression and glob patterns
- Parallel directory traversal
- Respects .gitignore and skips hidden files by default
Ratings & Reviews
No ratings yet
Be the first to rate FD.
People also visit
FinderSearch
A native macOS file browser with fast fuzzy filename search, powered by fsearch
FD FAQ
What is fd?
A fast, user-friendly command-line tool for finding files, as an alternative to the find command.
How do I search for a file?
Run fd followed by a pattern. For example, fd netfl searches the current directory for entries containing netfl.
Is it case sensitive?
Not by default. It uses smart case, which becomes case-sensitive only when the pattern has an uppercase letter.
Does it respect .gitignore?
Yes, by default, along with skipping hidden files and directories.
Where can I see all the options?
Run fd -h for a short help message or fd --help for the detailed version.
What are the best FD alternatives?
Popular alternatives to FD include Ugrep, Searchmonkey III and grep. See all FD alternatives






