Hey guys, first post here.
Apologies if this has been asked before, but I tried searching the forum with no luck finding an answer.
I have a folder with about 150 episodes of a show in MKV which all need to be multiplexed with exactly the same settings. I’ve created the script, and launching this in Terminal works perfectly, but I have to manually edit the episode number in the script each time before I run it. Is there a way to have the script apply to all MKV files from this one specific folder?
My script as it currently stands:
–
/Applications/MKVToolNix-18.0.0.app/Contents/MacOS/mkvmerge --output ‘/Volumes/Media/Downloads/Lupin the Third (Seasons 1-3)/Lupin III S02 - Lupin the Third Part II/Lupin the Third - S02E001 (1).mkv’ --subtitle-tracks 2 --no-attachments --no-track-tags --no-global-tags --language 0:und --track-name 0: --default-track 0:yes --language 1:jpn --track-name 1: --default-track 1:yes --forced-track 1:yes --language 2:eng --track-name 2: --default-track 2:yes --forced-track 2:yes ‘(’ ‘/Volumes/Media/Downloads/Lupin the Third (Seasons 1-3)/Lupin III S02 - Lupin the Third Part II/Lupin the Third - S02E001’ ‘)’ --track-order 0:0,0:1,0:2
–
Any help would be greatly appreciated.
Thank you.