title: How can I print out only the name and file size using the find command?
body: <p>So I have this command line that works.</p>
  
  <pre><code>find . -type f |xargs ls -lS |head -20
  </code></pre>
  
  <p>The thing is I only want the output to be the file size and the name. I tried:</p>
  
  <pre><code>find . -type f -printf '%s %p\n' |xargs ls -lS |head -20
  </code></pre>
  
  <p>but this gives me a bunch of 'cannot access [inode], no such file or directory' errors. </p>
  
  <p>My goal is to print the biggest 20 files in the directory, not using ls.</p>