fd

fd

github.com

2

About this website

fd is a simple, fast, and user-friendly alternative to the Unix find command, written in Rust by David Peter (sharkdp). It combines intuitive syntax with parallel directory traversal for dramatically faster file searches. Key differences from find: fd uses colors to highlight different file types (directories, executables, symlinks) by default, respects .gitignore files automatically (skipping ignored files unless explicitly told otherwise), and uses a much simpler syntax for common operations. For example, 'fd pattern' searches recursively from the current directory, while the equivalent find command requires 'find . -name "pattern"'. Features include: regex pattern matching (with case-insensitive mode by default for most patterns), file type filtering (-t f for files, -t d for directories, -t l for symlinks, -t e for executables, -t x for empty), extension filtering (-e py for Python files), size filtering (-S +10m for files over 10MB), time filtering (--changed-within 1week), parallel command execution (-x) for batch processing matched files, interactive fuzzy filtering with fzf integration via --exec, and JSON output format for scripting. Performance benchmarks show fd completing searches 5-20x faster than find on SSDs. As of 2026, fd has over 35,000 stars and is available via Homebrew, apt, dnf, Chocolatey, Scoop, and cargo.

Tags & Categories

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!