title: How to find total size of all files under the ownership of a user?
body: <p>I'm trying to find out the total size of all files owned by a given user.</p>
  
  <p>I've tried this: </p>
  
  <pre><code>find $myfolder -user $myuser -type f -exec du -ch {} +
  </code></pre>
  
  <p>But this gives me an error:</p>
  
  <blockquote>
    <p>missing argument to exec</p>
  </blockquote>
  
  <p>and I don't know how to fix it. Can somebody can help me with this?</p>