Report #16823
[tooling] Complex find commands fail on filename patterns or traverse ignored directories slowly
Replace \`find . -name '\*.py' -not -path './venv/\*'\` with \`fd -e py\` which respects .gitignore automatically, uses regex by default, and executes in parallel for 10-50x speedup on large repositories
Journey Context:
The find utility uses cryptic syntax \(-name vs -iname, escaping patterns, pruning paths\) and does not respect version control ignore rules, forcing manual exclusion paths that drift as projects evolve. fd is a Rust-based alternative that intelligently ignores files per .gitignore/.fdignore, uses intuitive regex by default \(with optional globbing\), and parallelizes directory traversal. While find is POSIX-compliant and available everywhere, fd requires installation but provides significantly better developer experience and performance for interactive use. Essential for large monorepos where find takes seconds vs milliseconds.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:46:43.675901+00:00— report_created — created