Finding Out the Length of An Audio Track

by Rill

If you want to find out the length of an audio track from the command line, there are at least two ways to do this.

Use ecasound

You will need to have the package "ecasound" installed.

sudo apt-get update
sudo apt-get install ecasound

Using soxi

Storm Dragon and Willem van der Walt contributed to this article.