oh_its_a_me

Q: How to show hidden files in Finder (OS X 10.9)?

Hi Apple-lovers and Apple-users!

 

I haven't found a solution, how to show hidden files in Finder since the update to OS X 10.9.. I know how to show them in the Terminal but I want to see them in the Finder too.
I know the Terminal-commands for showing hidden files in OS X 10.8. ("defaults write com.apple.finder AppleShowAllFiles TRUE&&killall Finder") but this doesn't work anymore.

 

So if somebody has figured it out yet - please help me!

 

Yours,
oh_its_a_me

MacBook Pro, OS X Mavericks (10.9)

Posted on Oct 25, 2013 12:49 PM

Close

Q: How to show hidden files in Finder (OS X 10.9)?

  • All replies
  • Helpful answers

Page 1 of 5 last Next
  • by Old Toad,Helpful

    Old Toad Old Toad Oct 25, 2013 12:55 PM in response to oh_its_a_me
    Level 10 (141,331 points)
    Mac OS X
    Oct 25, 2013 12:55 PM in response to oh_its_a_me

    Use an app that can toggle the invisible files visible and then invisible.

     

    InVisible 1.2.1

     

    Show Hide Invisible Files 1.6

     

    iShow Invisible 1.6.5

     

    Show Hide Invisible Files 1.6

     

    Much easier than using the Terminal

     

    OT

  • by - Krzysztof -,Helpful

    - Krzysztof - - Krzysztof - Oct 25, 2013 12:56 PM in response to oh_its_a_me
    Level 1 (5 points)
    Oct 25, 2013 12:56 PM in response to oh_its_a_me

    Try

     

    chflags nohidden "your path"

  • by JaFaint,

    JaFaint JaFaint Nov 1, 2013 3:17 PM in response to oh_its_a_me
    Level 1 (0 points)
    Nov 1, 2013 3:17 PM in response to oh_its_a_me

    defaults write com.apple.finder AppleShowAllFiles -boolean true

    killall Finder

     

    The reverse is

    defaults delete com.apple.finder AppleShowAllFiles

    killall Finder


     


  • by LinuxGeek3447,

    LinuxGeek3447 LinuxGeek3447 Nov 10, 2013 4:25 AM in response to JaFaint
    Level 1 (20 points)
    Nov 10, 2013 4:25 AM in response to JaFaint

    This explains a lot. I wrote an AppleScript back while I was still using Lion, to reveal and hide hidden files and folders. Now I'm using Mavericks, and when I tried to use the script today, it didnt do anything. Looks like it's time to update the script.

     

    Thanks for the info!

  • by Tom Jones 1999,

    Tom Jones 1999 Tom Jones 1999 Nov 27, 2013 6:52 PM in response to oh_its_a_me
    Level 1 (10 points)
    Nov 27, 2013 6:52 PM in response to oh_its_a_me

    Try this application I made a while ago, it's very easy to use,

     

    http://goo.gl/XfHxqC

  • by LinuxGeek3447,

    LinuxGeek3447 LinuxGeek3447 Nov 28, 2013 12:35 AM in response to Tom Jones 1999
    Level 1 (20 points)
    Nov 28, 2013 12:35 AM in response to Tom Jones 1999

    I like the script you put together better than the one I designed. Definitely easier to use.

  • by tmorse31,

    tmorse31 tmorse31 Dec 1, 2013 6:26 AM in response to Tom Jones 1999
    Level 1 (0 points)
    Dec 1, 2013 6:26 AM in response to Tom Jones 1999

    Brilliant!! Thank you ever so much

  • by Tony T1,

    Tony T1 Tony T1 Dec 1, 2013 7:11 AM in response to Tom Jones 1999
    Level 6 (9,249 points)
    Mac OS X
    Dec 1, 2013 7:11 AM in response to Tom Jones 1999

    One more way (yours is better as a real App though)

     

    set answer to the button returned of (display dialog ("Finder Hidden Files:") buttons {"Show", "Hide", "Cancel"} with icon caution default button 3 with title "Finder Hidden Files")

    if answer is "Show" then

              tell application "Finder" to quit

              do shell script "defaults write com.apple.finder AppleShowAllFiles 1"

      delay 2

              tell application "Finder" to run

    else

              tell application "Finder" to quit

              do shell script "defaults write com.apple.finder AppleShowAllFiles 0"

      delay 2

              tell application "Finder" to run

    end if

  • by Jambo6c,

    Jambo6c Jambo6c Dec 7, 2013 9:16 AM in response to Tony T1
    Level 1 (0 points)
    Dec 7, 2013 9:16 AM in response to Tony T1

    Tony I think you need to do nothing if Cancel is pressed, currently it will check 'if answer is "Show"' and return false, so set to hidden. If you have them shown then click Cancel it will hide the files, where as you want it to leave the setting as-is.

     

    I may be wrong having not programmed in that language really but the logic seems incomplete

  • by Tom Jones 1999,

    Tom Jones 1999 Tom Jones 1999 Dec 7, 2013 9:22 AM in response to Tony T1
    Level 1 (10 points)
    Dec 7, 2013 9:22 AM in response to Tony T1

    This particular script will allow you to just press Enter to obtain the opposite result of the current Hidden or not variable. eg. if the hidden files are invisible, then set the default button to "show hidden files" and vice-versa.

     

    try

              set yorn to (do shell script "defaults read com.apple.Finder AppleShowAllFiles")

    on error

              set yournans to 2

    end try

    if yorn is "FALSE" then

              set yornans to 2

    end if

    if yorn is "TRUE" then

              set yornans to 3

    end if

    display alert "Revealer" message "Would you like to show all hidden files or hide them?" buttons {"Cancel", "Show Hidden Files", "Hide Hidden Files"} default button yornans

    set ShowOrHideButton to button returned of the result

    if ShowOrHideButton is "Show Hidden Files" then

              do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE"

              do shell script "killall Finder"

    end if

    if ShowOrHideButton is "Hide Hidden Files" then

              do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE"

              do shell script "killall Finder"

    end if

    if ShowOrHideButton is "Show Hidden Files" then

              set endAlert to "All hidden files are now visible."

    end if

    if ShowOrHideButton is "Hide Hidden Files" then

              set endAlert to "All hidden files are now invisible."

    end if

    if ShowOrHideButton is "Cancel" then

              set endAlert to "Nothing was changed."

    end if

     

    display alert "Revealer" message "Completed Successfully! " & endAlert & ""

  • by oh_its_a_me,

    oh_its_a_me oh_its_a_me Dec 7, 2013 1:27 PM in response to oh_its_a_me
    Level 1 (0 points)
    Dec 7, 2013 1:27 PM in response to oh_its_a_me

    Thx for all the responses, but nothing works for my user account.
    The reason why I mentiont this is, that I figured out, when I create a new account it works in them.
    Does somebody know why I have this problem and how to fix it?

  • by Tony T1,

    Tony T1 Tony T1 Dec 7, 2013 2:07 PM in response to Jambo6c
    Level 6 (9,249 points)
    Mac OS X
    Dec 7, 2013 2:07 PM in response to Jambo6c

    [Cancel] quits the script exits at that point, so the rest of the script is not processed.

  • by VikingOSX,

    VikingOSX VikingOSX Dec 7, 2013 3:57 PM in response to oh_its_a_me
    Level 7 (21,098 points)
    Mac OS X
    Dec 7, 2013 3:57 PM in response to oh_its_a_me

    I didn't write this script, and credit is due to Baltwo. Open the script content in the AppleScript Editor. Save it as text (dotx.applescript) where you want to save the source. Then, save as an Application and drag it to your Dock. Click once to reveal hidden files, click again to hide them.

     

     

    -- AppleScript to toggle hidden "." files
    -- Submitted by Baltwo on Apple Support Community
    
    try
              do shell script "defaults read com.apple.finder AppleShowAllFiles"
    on error
              do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
    end try
    
    if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is equal to "0" then
              do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
    else
              do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
    end if
    
    do shell script "killall Finder"
    
    
  • by NuiX,

    NuiX NuiX Dec 18, 2013 9:50 AM in response to oh_its_a_me
    Level 1 (0 points)
    Dec 18, 2013 9:50 AM in response to oh_its_a_me
Page 1 of 5 last Next