title: calculate total used disk space by files older than 180 days using find
body: <p>I am trying to find the total disk space used by files older than 180 days in a particular directory. This is what I'm using:</p>
  
  <pre><code>    find . -mtime +180 -exec du -sh {} \;
  </code></pre>
  
  <p>but the above is quiet evidently giving me disk space used by every file that is found. I want only the total added disk space used by the files. Can this be done using <code>find</code> and <code>exec</code> command ?</p>
  
  <p>Please note I simply don't want to use a script for this, it will be great if there could be a one liner for this. Any help is highly appreciated. </p>