Terminal Hax: Showing Hidden .FILES in Mac

By default, .FILE_OR_FOLDER_NAME files or folders are hidden. To see them in Finder, open up Terminal and enter the following.

# The first line will get all hidden folders and Files to be shown
# The second line will close and reopen Finder windows so the changes will
# take effect.
defaults write com.apple.finder AppleShowAllFiles YES
killall Finder
# To hide the files/folders once more
defaults write com.apple.finder AppleShowAllFiles NO
killall Finder

view raw
hidden_files.sh
hosted with ❤ by GitHub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s