11 ms·
You can still use xargs without overhead :
> fd .py | xargs stat
You can still use xargs without overhead :
> fd .py | xargs stat
Quick FYI: xargs is not the same as execdir; execdir executes the command in the same directory as the file. And to account for spaces in filenames (yay, OSX), your command starts getting a bit more complicated: fd -0 .py | xargs -0 stat