Help with defaults in Terminal?

Discussion in 'macOS' started by devburke, Aug 31, 2009.

  1. devburke Guest

    Joined:
    Oct 16, 2008
    #1
    Hey, so just to experiment with what I learned online, I tried:

    defaults write com.apple.iTunes show-genre-when-browsing FALSE

    …and it worked. Genre was gone. But when I tried to undo it by doing the same and ending with TRUE, no dice. I even tried doing read on it to make sure it worked, and in the file it said true, but it still didn’t seem to. I also tried just doing

    defaults delete com.apple.iTunes show-genre-when-browsing

    …but nothing. The only way I could get genre back was to delete the preferences file all together.

    What am I doing wrong?
     
  2. Dragonforce macrumors 6502a

    Dragonforce

    Joined:
    Apr 9, 2008
    Location:
    London (Ealing) UK
    #2
    defaults write com.apple.iTunes show-genre-when-browsing -bool TRUE
     
  3. devburke thread starter Guest

    Joined:
    Oct 16, 2008
    #3
    Oh, ok thanks. What does the bool do? Sorry, I’m a noob at this stuff. Does it tell it it’s a boolean? Why is that not necessary for FALSE?
     

Share This Page