I am starting to mess around with avconv and avprobe.

at any rate, how can I script a way to a certain command (say avconv -i inpufile.mkv -c:a copy -c:v copy -sn outputfile.mp4) to run on every MKV that gets found inside of some folder?

Also they are very recursive so

find /path/to/my/tvshows -name "*.mkv" lists all the files I want so that's a start.

and to top it off, I need every file that gets converted via avconv to be deleted (delete the mkv, to keep the mp4)