Created
November 5, 2020 16:22
-
-
Save Diegus83/7d7653ae2b899e977fa008bd445241c2 to your computer and use it in GitHub Desktop.
Set mkv Title tag using the file name, removing the extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: set_mkv_tile.sh *.mkv | |
for f in "$@" | |
do | |
if [ ${f: -4} == ".mkv" ] | |
then | |
echo "$f" | |
echo "${f%.*}" | |
/usr/local/bin/mkvpropedit "$f" --edit info --set title="${f%.*}" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment