/ Apple Posts

Previous Article

Showing hidden files in Mac OS X 10.7 and above

Next Article

Using my Mac laptop as a dev machine is great but sometimes I need to have access to all my files, including those which begin with a "." such as .git or .ssh.

Here's a quick terminal command which will show these by default.

To enable hidden files/folders in finder windows:

  1. Open a terminal window
  2. Copy and paste the following line in defaults write com.apple.Finder AppleShowAllFiles YES
  3. Press return
  4. Now hold ‘alt’ on the keyboard and right click on the Finder icon
  5. Click on Relaunch

When Finder relaunches you should see all your hidden files and folders. If you ever want to reverse the command and re-hide all hidden files and folders. Go through the same procedure except change step 2 to:

defaults write com.apple.Finder AppleShowAllFiles NO

When Finder relaunches you will notice that all the hidden files and folders have now disappeared again.

Avatar of Clive Walkden

Clive Walkden

Latest Articles

Linux command line tools, installations etc


Terraform Installation

A quick installation guide for Terraform on Ubuntu 18.04

Bitcoin - Cryptocurrency not just for geeks


RollerCoin Intro

An introduction to the RollerCoin site and how you can use it to mine your own coins

Magento 2 Blog Posts

Magento 2

Magento 2.4.x Writing to a Log File

How to log to information to a file in different Magento 2.4.x versions