Help with defaults in Terminal?

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

  1. devburke Guest

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

    defaults write 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 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


    Apr 9, 2008
    London (Ealing) UK
    defaults write show-genre-when-browsing -bool TRUE
  3. devburke thread starter Guest

    Oct 16, 2008
    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