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 MacBook Air 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
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:
Related: How to Clean the MacBook Screen
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.
Related: Best Animation Software for Mac
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.
Related: Best Mac Apps for Writing
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.
Related: Best Split Screen Apps for Mac
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.
Using the “mv” command
For those who love to fiddle with their computer, this would be a much more interesting way to hide files. By using the “mv” command, you can move the file from one place to a different folder. While you can use this command to easily hide it in a folder that’s inside multiple folders, the most useful aspect of this command is to move the file to a period folder.
Period folders are relatively well-hidden folders that contain critical system information. So, you won’t be able to access them through the regular UI.
Here are the steps to turn your files invisible with this method:
- Go to the Terminal and type in mv filename .filename.
- Now change the name of the first filename bit to the the name of the file you want to hide.
- And then change the name of the .filename to the system file
- This will ensure that your file is hidden
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.
How to access hidden files on a Mac?
Now, that you know how to hide files on your Mac we’ll also teach you how to access them. The following methods will be useful if you’ve forgotten where you hid the files or if you forgot the attributes/names of the files/folder.
Of course, these methods are also useful if you need to find a system file to troubleshoot an issue or if you’ve given your MacBook to somebody you don’t trust. Here are the three ways to access hidden files on Mac.
Access hidden files on Mac via Finder
Finding the hidden file isn’t difficult unless you’ve encrypted it with a third-party tool. All you need to do is:
- Access Finder and open up the Macintosh HD folder.
- Now, press Command+Shift+Dot at the same time and all of the hidden files will become visible. If you click on the three buttons again, then they’ll disappear. This is the best solution for files hidden with an invisibility attribute.
- This function is applicable to all documents or application folders.
However, if you want to find files in the ~/Library folder. Then you should follow these steps:
- Access finder and press Alt and click on the Go which can be found at the top of the screen. Now, click on Library to open the hidden folder.
Of course, the only irritating aspect of both these methods is that all the files will appear on the desktop, including system files and autosaved documents. So, you’ll spend a considerable amount of time sifting through them to find your file.
Unhide files on Mac with Terminal commands
You can also use the Terminal and use command prompts to help save a lot of time and steps if you want to access hidden files. You can run the following command script to find hidden files:
- Open Terminal and enter: defaults write com.apple.Finder AppleShowAllFiles true [Press Return] killall Finder
- Now, you can access on the hidden files.
- If you want to hide them again. Change true to false in the command.
We recommend using Finder to find hidden files if your new to running commands on Terminal.
Alan Urban is the Editor-in-chief of Stupid Apple Rumours and often proclaims that he’s ” Apple’s number one fan.”
In addition to keeping up with the latest Apple news, he also reviews Apple products and creates user-friendly guides. When not subjecting Apple Devices to crazy stress tests, he’s usually playing games on Apple Arcade