• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 963
  • Last Modified:

How to show hidden files and folders in Finder?

I need to back up my repository so I need to find the file, right? I use SurceTree and presume the repository is hidden. I created it in a given folder, and did not see the file even though it functioned fine.

So I presume it's hiding it so I do not delete it by mistake.

Thanks.
0
newbieweb
Asked:
newbieweb
4 Solutions
 
Alan HendersonRetired marine engineerCommented:
This page shows you how:
http://www.macosxtips.co.uk/index_files/quickly-show-hidden-files.php

It also shows you how to set up a keyboard shortcut.
0
 
AnuroopsunddCommented:
Open terminal  and put below command
defaults write com.apple.Finder AppleShowAllFiles YES

To make the command take effect, you need to restart the Finder. One way to do this is to hold down the Option key, then click and hold on the Finder icon in the Dock. When the contextual menu appears, select Relaunch and the Finder will restart.

When it does, you’ll find that you can now see every single file and folder on your Mac


http://www.macworld.com/article/1051830/showallfinder.html
0
 
Eoin OSullivanConsultantCommented:
If you simply want to check if there are hidden files or folders .. simply open Terminal App ... switch to the folder concerned .. by entering 'cd '  and the folder path .. or you can type 'cd ' and then drop the folder into the terminal window.
cd /path/to/the/folder

Open in new window


Once you are in the folder ... type
ls -al

Open in new window


This will show all files and folders including hidden files and folders beginning with .
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
newbiewebSr. Software EngineerAuthor Commented:
If I were to make it the default to always show hidden files, would I be able to differentiate them from normal files?  I am not sure I would make it the default unless I could also see it was hidden by default.
0
 
Eoin OSullivanConsultantCommented:
I find that showing all hidden files by default is VERY annoying as these files are throughout OSX and clutter up your finder and folder views.

You are best to toggle it on an off using the Terminal command (which involves restarting the Finder) or use the Terminal to list the contents of a folder as I describe .. or use a 3rd party Finder alternative such as Path Finder or TotalFinder which allow you to see hidden files without running terminal commands or restarting the Finder.

I must say that PathFinder (http://cocoatech.com/) is a great utility and especially for former- Windows users as it has several powerful features including showing hidden files, sorting folders in certain ways and a lot more that is missing from the Finder
0
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks!
0
 
newbiewebSr. Software EngineerAuthor Commented:
How do I hide the hidden files again?

I wanted to ask before using:

defaults write com.apple.finder AppleShowAllFiles FALSE
0
 
Eoin OSullivanConsultantCommented:
correct .. change TRUE to FALSE ... restart Finder afterwards
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now