3
1
I need to create a script that can convert all .mkv files to .mp4 in a starting directory and all sub-directories under it.
I've been able to convert files one at a time by using:
avconv -i input.mkv -codec copy output.mp4
and converting all files in the current directory wouldn't be too difficult. But after hours of searching, I can't find a way to do this recursively.
I've gathered that I need to use the find command, but I'm relatively new to Linux and I get completely lost in combining find and avconv to accomplish what I need.