fd: a simple, fast alternative to find
fd finds files by name with short, friendly syntax and sensible defaults, such as ignoring hidden files and .gitignore entries.
sharkdp/fd
- Stars
- 44.8k
- Forks
- 1.2k
- Language
- Rust
- Licence
- Apache-2.0
- Last push
- 14 Oct 2026
On GitHub: A simple, fast and user-friendly alternative to 'find'
Open on GitHubfind is powerful but verbose: find . -iname '*report*'. With fd the same search is fd report. The pattern is a regular expression by default, matching is case-insensitive unless the pattern contains an uppercase letter, and output is colored. Like ripgrep, it is written in Rust, skips hidden files and anything in .gitignore, and searches in parallel.
Common options: fd -e md finds files by extension, fd -t d build only finds directories, fd -H includes hidden files, fd -I includes ignored ones, and fd -x command runs a command for each result, similar to find -exec. For example, fd -e jpg -x convert {} {.}.png converts every JPEG in a tree.
On Debian and Ubuntu the package is fd-find and the binary is installed as fdfind, because another package already used the name fd; you can add an alias. fd does not try to replace every feature of find, so keep find for complex permission or time queries.
See also
- 0057 Shell cheat sheet: everyday commands A quick reference for moving around, managing files, viewing and searching text, checking processes and disk space in bash and zsh, with… Beginner · Reference · Linux, macOS Article Basics · Command-line tools 15 Oct 2026
- 0076 jq recipes: 23 one-liners for JSON on the command line A runnable collection of jq filters for everyday JSON work: pick fields, filter with select, reshape, sort, count, group, pass shell variables,… Intermediate · Reference · Linux, macOS, Windows Script Command-line tools · jq & JSON on the command line 15 Oct 2026
History
Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.
- commitpedia-admin +912 chars