fd -e rs --exec wc -l — find and run a command on results
fd -e rs --exec wc -l
fd's --exec flag runs a command on each matched file in parallel. This example finds all Rust source files and counts their lines, showing how fd can replace complex find -exec pipelines with a cleaner syntax.
#rust
#parallel
#fd
#find
#exec
Herunterladen
⬇ GIF (14,5 KB)
⬇ MP4 (Konvertierung...)
Einbetten
[](https://agentgif.com/@agentgif/fd-exec)
<a href="https://agentgif.com/@agentgif/fd-exec"><img src="https://media.agentgif.com/preseed/fd-exec/demo.gif" alt="fd -e rs --exec wc -l — find and run a command on results" width="1200"></a>
<iframe src="https://agentgif.com/embed/jX0M7McC/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="jX0M7McC"></div><script src="https://agentgif.com/widget.js" async></script>