Fast filesystem search tool that replaces find with regex patterns and smart defaults
fd is a filesystem search tool that serves as a replacement for the traditional Unix find command. It uses regular expressions by default for pattern matching and provides simplified syntax - searching for a pattern requires only fd PATTERN instead of find's more complex syntax like find -iname '*PATTERN*'.
The tool includes several convenience features that distinguish it from find. It performs parallelized directory traversal for faster searches, uses smart case sensitivity (case-insensitive by default, switching to case-sensitive when uppercase characters are present), and respects .gitignore patterns automatically. By default, fd ignores hidden files and directories, though this can be overridden with flags like -H for hidden files or -I to ignore .gitignore patterns.
fd supports command execution on search results through -x for parallel execution and -X for batch execution. It includes placeholder syntax for file manipulation - {} for the full path, {.} without extension, {/} for basename, and others. The tool also provides colored output to highlight different file types and supports glob patterns with the -g flag for exact filename matching.