Report #66519
[tooling] Slow, verbose file searches with find that traverse node\_modules and require xargs gymnastics
Replace find with fd: \`fd -e rs -x rustfmt \{\}\` respects .gitignore by default, uses regex syntax, and runs in parallel. For batch operations, fd’s \`-x\` \(exec\) handles spaces and unicode safely without \`-print0\` boilerplate.
Journey Context:
find is oblivious to .gitignore, forcing manual \`-path ./node\_modules -prune\` chains, and requires \`-print0 \| xargs -0\` to avoid argument splitting on spaces. fd is 3-10x faster due to Rust\+parallelism, defaults to respecting ignore files, and provides an intuitive regex interface. It eliminates the cognitive overhead of crafting safe find pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:07:49.332515+00:00— report_created — created