mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-15 19:13:43 +01:00
10 lines
217 B
Bash
10 lines
217 B
Bash
|
#!/bin/bash
|
||
|
{
|
||
|
echo -n '(0'
|
||
|
find "${1-.}" -type f | while read -r f; do
|
||
|
echo -n +
|
||
|
ffprobe -v quiet -of csv=p=0 -show_entries format=duration "$f" | tr -d '\n'
|
||
|
done
|
||
|
echo -n ')s'
|
||
|
} | qalc
|