Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # https://unix.stackexchange.com/a/568840
- # https://forums.bunsenlabs.org/viewtopic.php?id=4529
- for i in *.mkv; do
- if [ -f "${i%.*}".ass ] && [ ! -e "${i%.*}"-[HPriest].mkv ]; then
- mkvmerge -o ./merged/"${i%.*}"-HPriest.mkv "$i" "${i%.*}".ass --attach-file "Arial_Bold.ttf" "Arialbi.TTF"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement