Get duration of all media files in a folder with ffprobe
A bash code which prints duration of all the media files (mp4, mp3, wav, aiff, etc.) in a folder is as follows:
for f in * do echo $f; ffprobe $f -v quiet -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal done An equivalent one-liner:
[Read More]