A simple, fast and user-friendly alternative to 'find'
open sourceApache-2.0self-hostablefree
fd finds entries in your filesystem with an intuitive syntax (fd PATTERN instead of find -iname "*PATTERN*"). It uses regex or glob patterns, parallelized directory traversal, smart case, and ignores hidden files and .gitignore patterns by default. It can also run a command for each result in parallel.
Ways to install
Package managers
Problems it solves
- I can never remember the find command syntax for matching a filename
- find . -iname is slow and returns tons of junk from node_modules
- quickly locate a file by part of its name in a big project
- run a command on every file matching a pattern in parallel
- list all files with a given extension but ignore whatever git ignores
- want case-insensitive filename search unless I type uppercase
- find empty directories or files changed recently without man-page diving
- need a faster way to feed file lists into a fuzzy picker
- searching for files on Windows with the same command I use on Linux
Features
- regex and glob patterns
- parallel directory traversal
- smart case
- ignores hidden and gitignored files
- colorized output
- parallel command execution (-x / -X)
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what fd does.
- Everything Locate files and folders by name instantly
- ripgrep Searches directories recursively for a regex pattern, skipping gitignored files
