logoalt Hacker News

AdieuToLogictoday at 3:28 AM1 replyview on HN

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

Replies

tjalfitoday at 12:49 PM

This one doesn't need xargs.

  find . -name '*.log' -delete
show 1 reply