I'm trying to adding subtitles for multiple mkv files. I use this script for doing this :
for file in *.mkv; do "/Applications/Mkvtoolnix-7.0.0.app/Contents/MacOS/mkvmerge" -o "${file%\.*}(1).mkv" "(" "$file" ")" "(" "${file%\.*}.srt" ")" ; rm $file
It work fine for root directory only. But it don't work for all files in subfolder , please help me to make it work for all files in subfolder.