What is Ubuntu's CTRL+H equivalent in OSX Lion Finder to toggle display hidden files?
My all searches point me to use:
defaults write com.apple.finder AppleShowAllFiles TRUE which is not exactly the same and its effect is somewhat permanent.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
⇧⌘. shows hidden files in file dialogs and in some third party applications like TotalFinder. Transmit also has a menu item for toggling hidden files, but it's assigned to ⇧⌘B by default.
There's nothing equivalent to that in Finder though. But you could assign a shortcut to a script like this with FastScripts or by creating an Automator service.
k="com.apple.finder AppleShowAllFiles" [[ "$(defaults read $k)" == 0 ]] && b=true || b=false defaults write $k -bool $b osascript -e 'quit app "Finder"' && open -a Finder
The keyboard shortcut CommandShift. does not work with international keyboards in Finder window, although it works in "open file" dialogs.
At least this is true with French keyboard.
The shortcut to use then is fnCommandShift. It works in both "open file" dialogs and in Finder windows, however you can avoid pressing the extra key fn and use CommandShift. in those dialogs.
Here's a tutorial for setting up a contextual menu item to toggle visibility of hidden files.
Still not as good as a keyboard shortcut. Filing a duplicate of radar://7096650 at http://bugreport.apple.com is the best way to tell Apple that you want this feature.