Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Reply
Question marked as Best reply

Posted on Oct 25, 2013 12:55 PM

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

63 replies

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

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

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 & ""

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"

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

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.