jackz

jackz / commands.sh

Last active 5 months ago

Like 0

jackz revised this gist 1 year ago · 63cd0c7

1 file changed, 2 insertions

commands.sh (file created)
@@ -0,0 +1,2 @@
1 + # Sum of all video durations in folder '6'
2 + find 6 -name "*.mp4" -printf "\"%p\" " | xargs exiftool -n -q -p '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' | tail -n 1