title: Bash - calculate length of all mp3 files in one folder
body: <p>I have the following command which returns the filenames and lengths of mp3s files:</p>
  
  <pre><code>mp3info -p "%f: %m:%02s\n" *.mp3
  </code></pre>
  
  <p>How can I use this in a bash script to return the total length (sum) of all mp3 files in a given directory? I would like to have the following notation: mm:ss</p>