Mac OSX: Show Hidden Files and Folders

From SolverBase.com
Jump to: navigation, search

Problem

  • How to show hidden files and folders?
  • System: OS X
  • Devices: iMac, Mac Pro, MacBook Air, MacBook Pro, Mac mini

Solution for OS X 10.9, 10.10 and higher

Show hidden files

  • This solution is for OS X 10.9 (Mavericks), 10.10 (Yosemite) and higher
  • Open Terminal
  • Copy & paste the following command
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

  • Hidden files and folders are visible now

Hidden files are visible


Hide hidden files

  • To hide the hidden files use this command
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder 


defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

Solution for OS X 10.8 and lower

Show hidden files

  • Open Terminal
  • Use this command
defaults write com.apple.finder AppleShowAllFiles TRUE ; killall Finder

Hide hidden files

  • Open Terminal
  • Use this command
defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder