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 |
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
| $if2(%albumartist%,%artist%)/$if(%originalyear%,%originalyear%) - $if($ne(%albumartist%,),%album% $if(%_releasecomment%,\(%_releasecomment%\)) [%label% %catalognumber% %releasecountry%]/,)$if($gt(%totaldiscs%,1),%discnumber%-,)$if($ne(%albumartist%,),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)%title% | |
| 1998 - Version 2.0 (special limited edition) [Mushroom Records (UK) Ltd. MUSH29CDX GB] |
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
| # This is not intended to be guide, I just wrote it as a reminder to myself of the steps necessary. | |
| # If you find it useful, that's great, but keep in mind the paths and device ID's will need | |
| # to be adjusted to your case. And you may need sudo if you are not doing this while booted from recovery like I did. | |
| Get the InstallMacOSX.dmg from https://support.apple.com/kb/DL2077?locale=en_US | |
| Mount the image | |
| hdiutil mount InstallMacOSX.dmg | |
| cd /Volumes/Install\ Mac\ OS\ X |
OlderNewer