How to Hide Files on Mac | 2021 Guide
Have you ever caught people snooping on your Mac? I have been mad at people for looking at some of my personal files on my Mac. I can’t entirely blame them as it is human nature to be curious. Find out How to Hide Files on Mac.
I store a lot of personal information and files on my mac as it is safe and always with me. But when it goes into the hands of others, I start sweating bullets, that someone might see them or accidentally mess with them.
A solution for this is to hide your personal or important files and folders. You can hide files/folders in plain sight or behind secure virtual vaults and secondary accounts.
Besides, hiding files is a nice way of making sure that your privacy is not compromised. All your important detail and personal files will be safe from the prying eyes of others. This article will let you know how to hide files and folders on your Mac. Here’s How to Hide Files on Mac.
After having gone through various official documents from Apple and subject Mac desktops to various tests; my team and I found that:
Although there are various methods to hide your files on your Mac desktop, the easiest method would be to turn the visibility attribute to invisible. To do this all you have to do is the user must open the Terminal, type setfile -a V without pressing enter, Next, drag the file or folder into the Terminal window. Press Enter to execute the command and hide the file.
- How to Hide Files on Mac
- Using Mac Terminal
- Using Keyboard Shortcuts
- Using Library Folder
- Using Apple’s Developer Tools
- Using FileVault
- Using another account
- Using Third Party Apps
- How to Access Hidden Folders and Unhide them
- How to Hide Files on Mac – Takeaway
How to Hide Files on Mac
There are a few methods that you can use so choose the one that is most comfortable and convenient for you. You can hide files and folders on your Apple device using:
Using Mac Terminal
You can hide files in plain sight using this method without the need for passwords and usernames. You will have to use the terminal but it is a straight forward and easy method.
- Click on Finder.
- Now select Applications on the left panel.
- Navigate to the Utilities section and double click to enter the Utilities Menu.
- Alternatively, you can open a Terminal by pressing on Command+Space and typing Terminal in the search bar and pressing enter/return key. Find out How to Hide Files on Mac.
- Type “chflags hidden” without quotes.
- Drag and drop any file or folder on to the Terminal Window.
- Press Enter/Return key and the file or folder will vanish.
- You will have to remember the file path so that you can access it again.
This is one of the easiest and straight froward ways to hide files and folders as they are only invisible to the naked eye. To access hidden files and folders, I have written a section on the below.
Using Keyboard Shortcuts
These are quick and nifty little keyboard shortcuts and commands that you can use to hide files. Find out How to Hide Files on Mac.
- You can hide or unhide files using this option. Depending on if the files are hidden or not it will switch between the two.
- So, if a file is hidden, it will unhide and vice versa. Press Shift+Command+. to switch between the hide/unhide status of the file or folder.
Using Library Folder
Using the Library Folder is a great way to hide your files too. The Library Folder is hidden by default so this makes it a great place to store your important/secretive files and folders. All you need to do is:
- Open up the Finder
- Now hold the Option key to open the Finder’s Go menu
- Navigate to the Library folder
- You can create a new folder in there or drag and drop files and folders that you want to hide.
Using Apple’s Developer Tools
This is one of the easier methods to hide your files but you will need to have Apple’s Developer Tools installed for this.
- If you have it installed, just fire up a Terminal and type “setfile -a V” followed by the name of the file/folder without the quotes.
- This makes the file/folder invisible; you can undo this by repeating the process, but you will have to use a lower-case v in the command.
This is the easiest way to hide files on your Mac as you don’t have to code and stuff unlike some other methods. You can FileVault, it is a feature in Mac that can help your hard drive to be accessed only using your password and admin. Follow these steps to use FileVault and hide files on your Mac:
- Click on the Apple icon that is located at the top left corner of your screen.
- Click on System Preferences option.
- Choose Security & Privacy by clicking on it.
- Navigate to the FileVault tab, it is next to the general tab.
- Click on the padlock icon.
- Now click on the Turn On FileVault button.
- You will have to choose a recovery method now. There are two options that you can use, iCloud or a generating a local recovery key. Write down the recovery key, in case you forget it.
- Now click on Continue.
- Click the continue button again and voila, the process is complete.
Your hard drive and files are secure by FileVault and others can only access them with your username and password.
It will take time depending on the number of files and specs that are getting encrypted and you need to make sure to keep you Mac connected to a power source for a smooth encryption process.
In the meanwhile, you can surf, watch something or plays games on your Mac. When the encryption is done, only you will be able to access your files and folder using your username/password.
Using another account
Macs allow you to create multiple user accounts. And you can’t access files and folders of an account from a different account. You can use this feature to you advantage and store your personal files on a different account. To create a second account:
- Open Apple Menu.
- Navigate to System Preferences.
- Now click on Users & Groups option.
- Click on the Lock button and then click on the + button.
- Enter details for the new account to set up a Profile.
Your Mac will now have a second account that you can use to hides files and folders from your main account. To make sure that the files and folders are not accessible between the two accounts, you will have to turn off file sharing. You can do that in the Apple Menu> System Preferences> Sharing.
Using Third Party Apps
Third Party apps can help you hide files from others users of your Mac. Some of the better ones are Altomac’s Hide Folders, Apimac’s Secret Folder and AES Crypt.
How to Access Hidden Folders and Unhide them
Now that you know how to hide your files and folders on your Mac, read on to how to access these hidden files. There are a few methods that you can use:
Using the Go to Folder function in your Mac
You can use the Go menu to access the Go to Folder function.
Select the Go to Folder from the Go menu, and in the dialog box, type the path of your hidden folder. You will have to add “~” without the quotes. So, it will look like this:
Using the shortcut
The same shortcut for hiding files will unhide your files too, just press Shift+Command+. at the same time. Enter another folder and go back to the original path of your hidden folder and now it will be visible.
Using Finder to show hidden files
You can see hidden files in the Finder but you will need to access the Terminal again.
- So, open the terminal and then type
defaults write com.apple.finder AppleShowAllFiles TRUE
- Press Enter/Return key to continue, then type in this line
- Press Enter/Return key again.
Go to Finder and now you will be able to see the hidden files in it.
Unhide the File or Folder so you can use them again
This is a simple and easy process. Follow these steps:
- Open the Terminal either using search or the from the utilities section.
- Type “chflags nohidden” without quotes followed by the correct path of the file or folder you want to unhide.
- Press Enter/Return key and the file or folder will be visible now.
If you don’t remember the path, you can check for you files in the finder and drag it on to the console of the terminal and it will fill the path automatically. Press the Enter/Return key and your files will now be visible.
How to Hide Files on Mac – Takeaway
Hiding files and folders is nothing more than a privacy measure. Hiding files or folders will keep them safe when someone else is using your Mac.
If you need to make sure your personal or important files are safe, hiding them is one of the best ways to keep them safe.
This article was to inform you on how to hide files and I hope it was of help. It will offer you peace of mind when someone else uses your Mac.
How do I hide files on my Mac desktop?
The easiest method to hide your files on your Mac desktop would be to turn the visibility attribute to invisible. To do this all you have to do is:
- Open the Terminal.
- Type setfile -a V without pressing enter
- Next, drag the file or folder into the Terminal window.
- Press Enter to execute the command and hide the file.