somebody asked about this last week - not sure if they were linux or not (work on cygwin too!)
shntool does this for you but only i did it just as an exercise (or didn't have shntool at the time?) also it prints total in hh:mm which i sometimes need instead of mmm:ss one recent mod i had to make when i went from flac v1.1.2 to v1.1.4 is that 1.1.4 returns an extra \r when you ask for a metaflac field (should it?) attached file (hope attachments work to the list?)
flactime
Description: Binary data
_______________________________________________ Flac mailing list Flac@xiph.org http://lists.xiph.org/mailman/listinfo/flac