Tweet

iМатрёшка: for i in \*mkv; do ffmpeg -i $i -codec copy ${i/mkv/mp4}; done

(original)