Show hidden files not working in Mavericks

Discussion in 'OS X Mavericks (10.9)' started by BlueGummiBear, Jun 20, 2013.

  1. BlueGummiBear
    Expand Collapse
    macrumors 6502a

    BlueGummiBear

    #1
    Curious if anyone else has this issue.

    This code:

    Code:
    defaults write com.apple.Finder AppleShowAllFiles YES
    Is not working for me in Mavericks. Once I restart Finder, the primary drive hangs for a bit and then shows the contents of the folder but does not show hidden files. Reboot doesn't help.

    I thought this is more of a system "hack" or "tweak" and not necessarily something that warrants filing a bug report or posting in the Dev Forums so I'm posting here.
     
  2. mrapplegate
    Expand Collapse
    macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
  3. w0lf
    Expand Collapse
    macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #3
    Interesting, works for me. But then again I am using TRUE/FALSE instead of YES/NO so that might be your problem.

    I put this in a service with automator and it works beautifully. You don't even need to restart Finder anymore to apply the change, just refresh the view area.

    Code:
    showfiles=`defaults read com.apple.Finder AppleShowAllFiles`
    if [ "$showfiles" = "TRUE" ]; then
        say Hidden items disabled
        defaults write com.apple.finder AppleShowAllFiles FALSE
    else
        say Hidden items enabled
        defaults write com.apple.finder AppleShowAllFiles TRUE	
    fi
    
     
  4. mrapplegate
    Expand Collapse
    macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #4
    It does not work for me using
    defaults write com.apple.Finder AppleShowAllFiles True

    I guess I will file a report then.
     
  5. w0lf
    Expand Collapse
    macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #5
    Try it with caps? Does it work if you just copy paste it from my post?
     
  6. mrapplegate
    Expand Collapse
    macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #6
    It works with caps. Good catch :)
     
  7. Ddyracer
    Expand Collapse
    macrumors 68000

    Ddyracer

    Joined:
    Nov 24, 2009
    #7
    Well, looks like its gone. At least in DP4. If you check the plist file show all files isn't in there so its gone all right.
     
  8. Dalton63841
    Expand Collapse
    macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #8
    Still exists for me... The command

    Code:
    defaults read com.apple.Finder AppleShowAllFiles
    returns false, just like it should.
     
  9. w0lf
    Expand Collapse
    macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #9
    Interesting, the command still works though.

     
  10. Ddyracer, Jul 23, 2013
    Last edited: Jul 23, 2013

    Ddyracer
    Expand Collapse
    macrumors 68000

    Ddyracer

    Joined:
    Nov 24, 2009
    #10
    This doesn't

    This works.

    Ah figured it out. Don't use capital with Finder. So,

    this will work:

    defaults write com.apple.finder AppleShowAllFiles TRUE

    disable: defaults write com.apple.finder AppleShowAllFiles FALSE

    or YES and NO after show all files.
     
  11. Dalton63841
    Expand Collapse
    macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #11
    Didn't think about it, but it was probably in the plist because I have already been using the command once or twice since I updated to DP4.
     
  12. andredewaard
    Expand Collapse
    macrumors newbie

    Joined:
    Aug 6, 2012
    #12
    Still not working

    I have OS X Mavericks Beta 7 and it is still not working.
    ShowAllFiles is also not mentioned in the finder plist.
    anyone knows about this?
     
  13. w0lf
    Expand Collapse
    macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #13
    Did you even read the thread before posting?
     
  14. andredewaard
    Expand Collapse
    macrumors newbie

    Joined:
    Aug 6, 2012
    #14
    Yes, and none of it is working for me. So i just asked it.
     
  15. w0lf
    Expand Collapse
    macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #15
    This works

    Code:
    showfiles=`defaults read com.apple.Finder AppleShowAllFiles`
    if [ "$showfiles" = "TRUE" ]; then
        say Hidden items disabled
        defaults write com.apple.finder AppleShowAllFiles FALSE
    else
        say Hidden items enabled
        defaults write com.apple.finder AppleShowAllFiles TRUE	
    fi
    
    If it's not working then it's a problem on your end.
     
  16. shhy
    Expand Collapse
    macrumors newbie

    Joined:
    Feb 13, 2009
    #16
    Still not working for me either... FYI just as others have mentioned, it works well on computers where I upgraded to Mavericks, but with a clean install (erase first) it no longer works. I have tried all permutations of caps, no caps (and have read all the threads)
     
  17. benwiggy
    Expand Collapse
    macrumors 68020

    Joined:
    Jun 15, 2012
    #17
    Don't you normally have to use "-bool true" rather than just "TRUE"?
    Might that be the cause of the error?
     
  18. shhy
    Expand Collapse
    macrumors newbie

    Joined:
    Feb 13, 2009
    #18
    UPDATE: I was able to get this working using the automator script suggested, but I DID have to insert a killall Finder command after the if loop. All of this seemed to magically start working after a restart of my computer. Handy little service, thanks for the post! This is what I did in automator...
    First select New, then Service, then using a "Run Shell Script" action, copy in the text suggested above and save it (it will automatically be saved to your Service folder). Assign a unique key combo and you've got an awesome shortcut.
     

    Attached Files:

  19. Nilz11
    Expand Collapse
    macrumors newbie

    Joined:
    Oct 23, 2013
  20. isepic
    Expand Collapse
    macrumors member

    Joined:
    May 10, 2008
    #20
    Little F didn't work, I had to use killall Finder


    Little l = No matching processes belonging to you were found
    Cap L = success!
     
  21. glomenth
    Expand Collapse
    macrumors newbie

    Joined:
    Oct 30, 2013
    #21
    They changed how you supply the arguments. Try this:

    Code:
    defaults write com.apple.finder AppleShowAllFiles -boolean true
    
killall Finder
     
  22. marcelkraan
    Expand Collapse
    macrumors newbie

    Joined:
    Apr 18, 2010
    #22
    This is working for me... clean install from USB stick maverick..
     
  23. smittysauce
    Expand Collapse
    macrumors newbie

    Joined:
    Nov 12, 2013
    #23
    I had to tweak the $showfiles check to look for "1" instead of "TRUE" but it works good after you import it into automator and save it as a service. Make sure to restart/relaunch Finder so the service shows up.

    Code:
    showfiles=`defaults read com.apple.Finder AppleShowAllFiles`
    if [ "$showfiles" = "1" ]; then
        say Hidden items disabled
        defaults write com.apple.finder AppleShowAllFiles -boolean false
    else
        say Hidden items enabled
        defaults write com.apple.finder AppleShowAllFiles -boolean true
    fi
    killall Finder
     
  24. johnnyturbouk
    Expand Collapse
    macrumors 68000

    johnnyturbouk

    Joined:
    Feb 9, 2011
    Location:
    on the yellow [oled] brick road to tech nirvana.
  25. satcomer
    Expand Collapse
    macrumors 603

    satcomer

    Joined:
    Feb 19, 2008
    Location:
    The Finger Lakes Region
    #25
    You need a SMALL f for the word Finder 10.9 and the word TRUE (not YES)!
     

Share This Page