check duration of audio files on the command-line

后端 未结 14 869
攒了一身酷
攒了一身酷 2021-02-05 00:00

I need to check the duration of a group of audio files. Is there a simple way to do this on the unix command-line?

> duration *

I have the a

14条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 01:00

    soxi -D filename
    soxi -D *
    

    Soxi queries metadata of audio files; D is the duration option. It supports globbing. Soxi's big brother sox does command-line audio processing.

提交回复
热议问题