Apple Event: May 7th at 7 am PT

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

How do I show hidden files on Lion?

This OS is really frustrating me, first I can't use Front Row and now I can't figure out how to show hidden files. 😟

Posted on Jul 23, 2011 3:57 PM

Reply
36 replies

Jan 26, 2012 1:12 AM in response to billearl

billearl wrote:


Another AppleScript to toggle hidden files visibility (best saved as an app):


try

set visSet to (do shell script "defaults read com.apple.finder AppleShowAllFiles") as integer as boolean

on error

set visSet to false-- default setting

end try


do shell script "defaults write com.apple.finder AppleShowAllFiles -bool " & (not visSet) as text


tell application "Finder" to quit

delay 1

do shell script "open /System/Library/CoreServices/Finder.app"


This worked great for me but I also added this


if visSet = false then

say "VISIBLE"

else

say "HIDDEN"

end if


Just to let you know what view state that you're in

Mar 9, 2012 1:33 PM in response to molecule-eye

molecule-eye wrote:


This is a complete joke, if you ask me. Finder has no option to view hidden files without mucking around in the terminal? Maybe another reason to buy TotalFinder or something else.


We already posted an Applescript for the "Terminal Adverse"

And if you want to open a hidden file in, for example, TextEdit, just File->Open and hold ⌘⇧. (Command-Shift-Period)

Mar 11, 2012 1:05 AM in response to Tony T1

It's still lame even with the script. Consider the usage case of most people. They hide some folders/files and would like to access them *sometimes*. Running a script every time to hide/unhide is a serious pain. What's worse, the only file managers I've found that do this you have to fork out a not insignificant amount of change (TotalFinder and Path Finder) when this feature is free on every other desktop environment I've used (KDE, Gnome, Windows, Openbox...)

Mar 11, 2012 10:10 AM in response to Tony T1

Why do I have lots of different file types hidden? Odd question, but if you must know, there are hidden .doc, .jpg, .odt, .xls, .tex, .pdf, and the list goes on. Why? So that people that might look at or use my computer for a moment *while I'm around*, say showing them something in a folder, don't see the hidden files/folders. They're hidden as a *very low* security measure. They're not important enough to encrypt, and as you note, encrypting/decrypting is a pain for such low security purposes.


I've never seen anyone so adamant in defending the lack of an almost universally had feature of any file manager I've ever used. But nice try.

How do I show hidden files on Lion?

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