subsextract.sh is a simple script to extract subtitle tracks from an MKV, saving each separate subtitle in a single file
subsextract.sh [ <output-dir> ]
By default output-dir subs
It's possible to proess whole folder with
find -maxdepth 1 -type f -regex .*mkv$ -exec {} \;