

Of course, anyone can find these files using the methods listed above, so this is not a real substitution for file encryption or any other legitimate security measures. Open Terminal and write the following:ĭrag the file you wish to hide into the Terminal window to display its path This would be most helpful if you have password-protected files or just want to prevent anyone who uses your Mac from messing around with something that's not already hidden. This method might seem less helpful than going through Finder, but Terminal can also help you hide individual files and folders on your computer. Type defaults write AppleShowAllFiles false and press Enter When you want to hide these files again, replace the value true with false, which would look like:

Once both lines of code run, you should see your hidden files in Finder and any temporary files saved on the desktop. Type defaults write AppleShowAllFiles true and press Enter Find Terminal under Launchpad > Other > Terminal, then run the following commands: How to Set Up Two-Factor AuthenticationĪnother way of performing this task is by using the macOS Terminal app, which gives you text-based access to the computer's operating system.How to Record the Screen on Your Windows PC or Mac.How to Convert YouTube Videos to MP3 Files.How to Save Money on Your Cell Phone Bill.How to Free Up Space on Your iPhone or iPad.Click on the Go button at the top of your menu bar. How to Block Robotexts and Spam Messages Find iTunes Library Locations on Mac: Get to the desktop of your Mac so you are inside a Finder window.
