title: Use wc on all subdirectories to count the sum of lines
body: <p>How can I count all lines of all files in all subdirectories with <code>wc</code>?</p>
  
  <pre><code>cd mydir
  wc -l *
  ..
  11723 total
  </code></pre>
  
  <p><code>man wc</code> suggests <code>wc -l --files0-from=-</code>, but I do not know how to generate the list of all files as <code>NUL-terminated  names</code></p>
  
  <pre><code>find . -print | wc -l --files0-from=-
  </code></pre>
  
  <p>did not work.</p>