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?) -------------- next part -------------- A non-text attachment was scrubbed... Name: flactime Type: application/octet-stream Size: 1645 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac/attachments/20070705/4fba6976/flactime.obj