#!/bin/bash
# http://mywiki.wooledge.org/BashFAQ/030
# Also requires GNU or BSD find(1)
# Recursively change all *.foo files to *.bar
# mag folgende Zeichen nicht:   "'", "("


find . -type f -name '*.ts' -print0 | while IFS= read -r -d '' f; do
  echo mv -- "$f" "${f%.ts}.mpeg"
done
