6 ms·He got the command wrong but his point stands: find . -name '.py' -exec grep -H import '{}' \;by sjs 15y agoHe got the command wrong but his point stands: find . -name '.py' -exec grep -H import '{}' \;ptramo 15y agoNo he doesn't. That's a completely stupid compared to xargs as soon as you have more than a few files. You're starting one grep process per file. Thanks for the laugh though.sjs 15y agoAll of this is stupid compared to just using a good shell and doing grep import * * /*.py.