Remix.run Logo
AdieuToLogic 12 hours ago

To support your recommendation and redress the strawman the article postulates, the post's author could have replaced:

  find . -name '*.log' | xargs rm
With:

  find . -name '*.log' -print0 | xargs -0 rm
tjalfi 3 hours ago | parent [-]

This one doesn't need xargs.

  find . -name '*.log' -delete
sgarland 3 hours ago | parent [-]

THANK YOU. I kept nodding along to all of the xargs comments, thinking “sure, but what about the even easier solution?”