$ time for i in *.ts; do test -f "$i.idx2" || avidemux --autoindex --load "$i" --quit; done
