dotfiles/scripts/getlength
2022-03-18 00:38:39 +03:00

3 lines
145 B
Plaintext
Executable File

date -u -d @`find . -maxdepth 1 -iname '*.mp4' -exec ffprobe -v quiet -of csv=p=0 -show_entries format=duration {} \; | paste -sd+ -| bc` +"%T"