fd: Alternative to find command
Fast Rust-based file search utility with simpler syntax than find, regex support, and parallel traversal.
Learn more about fd
fd is a filesystem search tool designed as an alternative to the Unix find command. It implements parallelized directory traversal using Rust's concurrency features to search through filesystem hierarchies. The tool uses regular expressions as the default pattern matching mechanism and integrates with Git repositories by respecting .gitignore patterns. fd supports command execution on search results, file extension filtering, and provides colored output for different file types.
Parallel Traversal
Uses concurrent directory scanning to search multiple filesystem paths simultaneously, reducing search time on large directory structures.
Git Integration
Automatically respects .gitignore patterns and excludes hidden files by default, making it suitable for development workflows.
Regex by Default
Treats search patterns as regular expressions natively, eliminating the need for complex find command syntax for pattern matching.
#!/bin/bash
# Search for Python files containing 'config' in the name
fd -e py config
# Search for files starting with 'test' in a specific directory
fd '^test' ./src
# Find all JavaScript and TypeScript files recursively
fd -e js -e ts
# Search case-sensitively for files containing 'API'
fd -s API
# Find files modified in the last 24 hours
fd -e log --changed-within 1d
# Exclude hidden files and search for configuration files
fd -H -e conf -e configTop in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
Bun
Fast JavaScript runtime with built-in bundler and package manager.
Bubble Tea
Go framework for terminal user interfaces based on The Elm Architecture with inline/fullscreen modes.
plotly.py
Interactive browser-based charts from Python with declarative API.
Instaloader
Python CLI for downloading Instagram posts, stories, profiles, and metadata.
code-server
Run VS Code on remote servers via browser.