[macOS] Ripping CD and Converting to FLAC

It has been a long time since I rip a CD to FLAC files and I used to do this on Windows. Now my primary system is macOS, I want to find out how to do this on a Mac.

(https://xiph.org/flac/links.html#software)

I decided to use macOS Music/iTunes to extract tracks from CD to Apple Lossless Audio Codec(AAC):

A Better CD Encoder(ABCDE)
with Homebrew installed, “brew install abcde”

X Lossless Decoder(XLD) – just run it once and set the Output format and directory then open the AAC files with XLD and it will convert them to FLAC automatically

[HowTo] OS X – How to change hostname

(Source: https://knowledge.autodesk.com/support/smoke/learn-explore/caas/sfdcarticles/sfdcarticles/Setting-the-Mac-hostname-or-computer-name-from-the-terminal.html)

Procedure

Perform the following tasks to change the workstation hostname using the scutil command.

  1. Open a terminal.
  2. Type the following command to change the primary hostname of your Mac:
    This is your fully qualified hostname, for example myMac.domain.com
    sudo scutil –set HostName <new host name>
  3. Type the following command to change the Bonjour hostname of your Mac:
    This is the name usable on the local network, for example myMac.local.
    sudo scutil –set LocalHostName <new host name>
  4. Optional: If you also want to change the computer name, type the following command:
    This is the user-friendly computer name you see in Finder, for example myMac.
    sudo scutil –set ComputerName <new name>
  5. Flush the DNS cache by typing:
    dscacheutil -flushcache
  6. Restart your Mac.

[Mac/OSX] iTunes/Mail Broken Korean Fix

Yet another better/easier method:

App Language Chooser

 

This should set the default language to Korean on iTunes only:

defaults write -app iTunes AppleLanguages "(ko)"

 

On OSX with English as the default language, Korean letters will be broken on the iTunes and Mail and here is how to fix that:

defaults write $(mdls -name kMDItemCFBundleIdentifier -raw /Applications/iTunes.app) AppleLanguages "(ko, en)"
defaults write $(mdls -name kMDItemCFBundleIdentifier -raw /Applications/Mail.app) AppleLanguages "(ko, en)"