Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by akdev1l

18 hours ago

find -print0 will print the files with null bytes as separators

xargs -0 will use a null byte as separator for each argument

printf 'a\0b\0c\0' | xargs -tI{} echo “file -> {}"

0 comments

akdev1l

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities