title: Short command to find total size of files matching a wild card
body: <p>I could envision a simple shell script that would accomplish what I want by just iterating through a list of files in a directory and summing the individual size but was wondering if there was already a more concise way to do that.</p>
  
  <p>something like </p>
  
  <pre><code>ls -lh *.jpg
  </code></pre>
  
  <p>that gives me the total size of just all the jpg files in the directory</p>