view invisible files
How do I view invisible files?
iMac, Mac OS X (10.6.7)
How do I view invisible files?
iMac, Mac OS X (10.6.7)
Open the AppleScript Editor in the /Applications/Utilities/ folder and run the following:
tell application "Finder" to quit
if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is "1" then
do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
else
do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
end if
delay 2
tell application "Finder" to run
The /dev folder on the startup disk can't be made visible in the Finder through this or any other method.
(58713)
Enable Finder to Show Invisible Files and Folders
Open the Terminal application in your Utilities folder. At the prompt enter or paste the following command line then press RETURN.
defaults write com.apple.finder AppleShowAllFiles TRUE
To turn off the display of invisible files and folders enter or paste the following command line and press RETURN.
defaults write com.apple.finder AppleShowAllFiles FALSE
Alternatively you can use one of the numerous third-party utilities such as TinkerTool or ShowHideInvisibleFiles - VersionTracker or MacUpdate.
Arent these commands missing a second line? I cant get them to work unless I type in 2 lines for each command. the first set is to show invisible files and the 2nd set is to hide them:
To show invisible files:
defaults write com.apple.finder AppleShowAllFiles TRUE (press RETURN)
killall Finder (press RETURN)
To hide invisible files:
defaults write com.apple.finder AppleShowAllFiles FALSE (press RETURN)
killall Finder (press RETURN)
There is also a simple widget that does all that without you having to mess with the command line called HiddenFiles. I have used it for years now very easy and fast. Here is a link to the widget as the original site I got it from seems to have been taken down or something:
When finished you need to Option-Right-click on the Finder Icon and click on Relaunch.
Great app. Very handy. Thank you.
You are very welcome!
view invisible files