How to See Hidden Files in Mac Os

PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing. Learn more.

How to Access Your Mac's Hidden Files

Messing around with certain macOS files could brick your Mac computer, so Apple has made them hard to find. But if you're confident in your skills, here's how to access them safely.

(Image: Shutterstock)

Your computer has backend directories, libraries, and files that help keep your computer's operating system running smoothly. If you were to delete or move any of these files, something could go seriously wrong. It's why we don't recommend you playing around with them unless you know what you're doing.

Windows 10 users can find these files in File Explorer, where it's easy to make changes and mistakes. In order to prevent Mac users from doing the same, Apple hides many of these files by default in macOS. That means you don't have to worry about ruining your computer, but it makes things a bit harder when you do need access.

Apple offers a few ways to find these hidden files. You can view them in Finder or through your Mac's Terminal app. Just remember that there are few reasons to mess around with these files—like relocating program directories or troubleshooting drivers—and if you're looking to clear up some hard drive space, there are other ways of accomplishing that.


Hidden files in the Macintosh HD folder

In Finder, you can click your computer's hard drive under Locations, then open your Macintosh HD folder. Press Command + Shift + . (period) to make the hidden files appear. You can also do the same from inside the Documents, Applications, and Desktop folders.

Anything your computer doesn't want you messing with will be grayed out, but you can still take a peek inside. When you're done, hit Command + Shift + . (period) to make the folders invisible again. This will ensure you don't accidentally change something in the future.

You can also quickly access the ~/Library folder from Finder's top menu. Click Go to see all the shortcuts for accessing the different folders inside your hard drive. However, if you hold down the Option key and click Go, there will be a new Library option with no shortcut visible. Click Library to view the content of the ~/Library folder.


mac terminal code showing hidden files

Another way of performing this task is by using the macOS Terminal app, which gives you text-based access to the computer's operating system. Find Terminal under Launchpad > Other > Terminal, then run the following commands:

  • Type defaults write com.apple.Finder AppleShowAllFiles true and press Enter

  • Type killall Finder and press Enter

Once both lines of code run, you should see your hidden files in Finder and any temporary files saved on the desktop. When you want to hide these files again, replace the value true with false, which would look like:

  • Type defaults write com.apple.Finder AppleShowAllFiles false and press Enter

  • Type killall Finder and press Enter

This method might seem less helpful than going through Finder, but Terminal can also help you hide individual files and folders on your computer. 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. Open Terminal and write the following:

  • chflags hidden [Press Space]

  • Drag the file you wish to hide into the Terminal window to display its path

  • Press Enter to hide the file from view

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.


Apple Fan?

Sign up for our Weekly Apple Brief for the latest news, reviews, tips, and more delivered right to your inbox.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.

How to See Hidden Files in Mac Os

Source: https://www.pcmag.com/how-to/how-to-access-your-macs-hidden-files

0 Response to "How to See Hidden Files in Mac Os"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel