Skip to content
fd
Hidden Gem

Curated by Surfaced Editorial·Developer·2 min read
Share:

fd is an open-source program that's a faster and user-friendlier alternative to `find`, written in Rust by David Peter. Its core feature is recursively searching for files and directories with sensible defaults, parallel execution, and regular expression support, all while being significantly faster than `find`. It's primarily built for developers, system administrators, and anyone who needs to quickly locate files or directories within a file system. Users typically invoke fd when they need to find all `.js` files in a project, locate a specific configuration file, or search across large directory trees. It's cross-platform, working on Linux, macOS, and Windows.

Why It’s Useful

While `find` is powerful, its syntax is often arcane and its execution can be slow on large file systems; fd offers a simpler, faster, and more intuitive command-line experience. For the developer searching a vast monorepo, `fd .js` quickly identifies all JavaScript files without needing complex `find` arguments. For the system administrator looking for log files created in the last 24 hours, fd offers clear and efficient filtering. fd is fully free and open-source. A particularly neat feature is its built-in support for `.gitignore` files, automatically excluding ignored paths from searches by default, a huge productivity booster. Its primary drawback is that `find` is pre-installed on every Unix-like system, making `fd` an extra installation step, which limits its discoverability and adoption. The project is actively maintained on GitHub, boasts a helpful community, and offers frequent performance and feature updates.

Enjoyed this? Get five picks like this every morning.

Free daily newsletter — zero spam, unsubscribe anytime.