How to hide invisible files on Leopard 10.5.7?

Discussion in 'macOS' started by ceraz, Jun 25, 2009.

  1. ceraz macrumors member

    Joined:
    Apr 1, 2008
    #1
    On Leopard 10.5.7, I had to unhide my invisible files for some job using the command:

    #defaults write com.apple.finder AppleShowAllFiles YES
    #killall Finder

    I am trying the reverse commands but the Finder still shows files what are supposed to be hidden.

    I tried:
    defaults write com.apple.finder AppleShowAllFiles -bool false
    defaults write com.apple.finder AppleShowAllFiles NO

    followed by a killall Finder and even reboot.

    I would like to avoid a re-install. Who can confirm a working solution as some in this forum suggest that the above reverse commands are no longer effective on Leopard?

    Thx
     
  2. MrChurchyard macrumors member

    Joined:
    Sep 22, 2008
    #2
    I thought the values were ON and OFF, not YES and NO... (Just tried, I'm right. So write

    defaults write com.apple.finder AppleShowAllFiles OFF
     
  3. ceraz thread starter macrumors member

    Joined:
    Apr 1, 2008
    #3
    Thanks, I tried the NO attribute but made no immediate difference. So I deleted the com.apple.finder.plist file and rebooted.

    Now everything is OK.

    Probably a combination of both ... but no need to reinstall :))
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    Swap the letters, it's ON, not NO.
     
  5. ceraz thread starter macrumors member

    Joined:
    Apr 1, 2008
    #5
    Sorry, I should have said I tried with the attribute "OFF", I had tried "NO" and "-bool false"

    Thx again
     

Share This Page