Calculate size of your mp3 library on linux console

/ Published in: Bash
Save to your folder(s)

This snippets leaves out all other files like .png, .jpg, and everything else that appears in a normal music library (artwork, images, etc. ...) and only calculates the size of music (.mp3) files

Copy this code and paste it in your HTML
  1. find /home/limepix/Music/ -name *.mp3 -print0 | xargs -0 du -ch

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.