Paladinz2k

Replace title with mkvpropedit

Aug 29th, 2024 (edited)
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Windows
  2. for %%x in (*.mkv) do "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%%x" --edit info --set "title=%%~nx"
  3. pause
  4.  
  5. Unix
  6. [[ "$PWD" == *rtorrent* ]] && EXIT
  7. for m in *.mkv ; do echo "$(basename $m .mkv)" ; mkvpropedit "$m" -e info -s title="$(basename $m .mkv)" ; done
  8.  
Add Comment
Please, Sign In to add comment