Much more than one way.
ecasound and the ecatools. There's ecalength:
ecalength file
It gives only one line looking like this:
t1.wav: 133.062s (2m13s)
Then there are the sndfile tools. They belong to libsndfile.
sndfile-info
This again gives quite a lot of output. Then there is at least one other
utility, which is recommended in the csound manual. Don't remember the name
exactly...
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de