#!/bin/bash
# show processing times from all recordings in $VIDEO

VIDEO="/media/Video/VDR"

grep -r "duration:                    time" --include "markad.log" $VIDEO | awk -F " " '{printf "%ds %s\n", $9, $1}' | sort --numeric-sort -k1,1 -k2,2
