← Software

fd

A simple, fast alternative to find.

fd searches the filesystem by name with sane defaults: regex-by- default matching (with substring as a special case), .gitignore awareness, parallel directory traversal, optional fuzzy matching, and a far more memorable command line than the classic find utility. Searches that on find require quoting, escapes, and a careful ordering of -type and -name expressions become a single short fd invocation.

David Peter wrote fd in Rust and released it in 2017; the same author maintains bat and several other modern Rust replacements for classic Unix tools. The binary is statically-linkable and small, which makes it easy to distribute, and the Rust regex crate underneath is very fast.

fd has been adopted as the default file-finder backend in many fzf-based shell configurations, vim/neovim file pickers, and IDE plugins. The binary on Debian-based distributions is fdfind to avoid a name collision with the older fd disk utility — most users add an "fd" alias.

License: MIT OR Apache-2.0

Category: CLI tools

Website: https://github.com/sharkdp/fd

Install

Debian/Ubuntu: sudo apt install fd-find   # binary is fdfind on Debian
Fedora/RHEL:   sudo dnf install fd-find
Arch:          sudo pacman -S fd
macOS:         brew install fd

Authors

  • David Peter (creator)
PreviousFastAPI NextFedora

This site is currently in Beta. Contact: Chris Paton

Textbook of AI · Textbook of Usability · Textbook of Digital Health

Auckland Maths and Science Tutoring