Hide files and folders on mac

But first, to hide your file. There are two ways to hide files in OS X. The first is to rename them so they have a period as the first character in the file name, and the second method is to set a special attribute on the file called a Finder flag that tells the Finder to not display the file under normal browsing circumstances. To undo this process, re-enter the exact same command--you can press the up arrow key in the Terminal to reveal the last command--and change "hidden" to "nohidden" you will have to use the arrow keys to navigate the cursor.

You can reveal any hidden files in the Finder by running the following command copy and paste it into Terminal:. While you can use these Terminal commands to reveal hidden files in the Finder, there are some third-party utilities that can do this more conveniently, including Show Hidden Files , MacPilot , and OnyX. Regularly unhiding and rehiding individual files or toggling the Finder in this manner can be a lot to remember, especially if you wish to regularly show and hide files in different locations on the hard drive.

Hide Folders In Mac Easy Way!

Because of this, an easier way to manage files you wish to keep hidden is to sequester them all in one hidden folder and then show and hide that folder as needed. Here is how to set this up:. At this point the folder is now hidden, and you have set up a single location that will keep any file within it hidden, so to access the hidden folder you can take advantage of the Finder's "Go to Folder" command:. Doing this will show the hidden folder in the Finder without revealing all hidden files on the commputer and without restarting the Finder.

You can now copy files to and from the hidden folder. Additionally, the folder will remain hidden, so there is no need to toggle commands to reveal and hide it.

How to hide files and folders in OS X

Instead, just close the Finder window that is showing the folder and it will disappear until you go to its parent folder and use the Go menu again. Have a fix? Post them below or e-mail us! To view hidden files in the Finder, open a Terminal window and run the following commands in it, pressing Enter after each one:. This command tells Finder to show hidden files and then restarts it.

They appear partially transparent to distinguish hidden files and folders from normally unhidden ones. Want to stop Finder from showing hidden files and folders?

Hide a File or Folder on a Mac

Want to unhide a file or folder? If you remember the exact path of the folder or file, you can type it into the terminal.

You can also press the up arrow key at the terminal to cycle through previous commands, locating the command that made the file or folder hidden. You can also run various Terminal commands that will display these files. Image Credit: Quentin Meulepas on Flickr. The Best Tech Newsletter Anywhere. Join , subscribers and get a daily digest of news, comics, trivia, reviews, and more.

How to Hide Files and View Hidden Files on Mac OS X

Windows Mac iPhone Android. Smarthome Office Security Linux. News Features Reviews.

Access a Hidden Files or Folder