Show Hidden Library Folder Time Machine

  

Open File Explorer from the taskbar. Select View Options Change folder and search options. Select the View tab and, in Advanced settings, select Show hidden files, folders, and drives and OK. Open Time Machine preferences for me. Use the arrows and timeline to browse the local snapshots and backups. If you see a pulsing light to semi-dark gray tick mark, it represents a backup that’s still loading or validating on the backup disk. Select one or more items you want to restore (these can include folders or your entire disk), then.

Aside from the filename, you’ll see the URL, file type and size, and other properties. You can export a single file or a full list, copy the URLs of your cached files, and extract the files from the cache if you want to save them in another folder.

Updates

  • Added shortcut method available on macOS Sierra keyboard.

  • Method of showing/hiding hidden files tested and working on macOS Sierra.

  • Method of showing/hiding hidden files tested and working on Mac OS X El Capitan.

It seems like every day I search Google for the command to show hidden files on Mac OS X, not to mention Googling for the command to then hide those hidden files a few minutes later.

Today I decided to make a short and easy to remember alias to speed up the process. All I need do now is type showFiles and hideFiles whenever I need to show/hide OS X's hidden files. Here's how you can do it too.

The Quickest Way to Show/Hide Hidden Files

How

Since the release of macOS Sierra, when in Finder, it is now possible to use the shortcut:

Press once to show hidden files and again to hide them. If you're using a version earlier than macOS Sierra, see Show/Hide Hidden Files using Terminal Aliases to setup a toggle command via terminal.

Thanks to Guido Schlabitz for making me aware of this new shortcut.

Show/Hide Hidden Files the Long Way

The long way to show hidden Mac OS X files is as follows:

  1. Open Terminal found in Finder > Applications > Utilities
  2. In Terminal, paste the following: defaults write com.apple.finder AppleShowAllFiles YES
  3. Press return
  4. Hold the 'Option/alt' key, then right click on the Finder icon in the dock and click Relaunch.

This will show all hidden files. To hide them again, follow the same steps but replace the Terminal command with:

It's not the longest set of instructions or the biggest command to commit to memory but if you're doing this a lot, it's worth spending a few minutes now to save yourself a lot more time in the future.

Show/Hide Hidden Files using Terminal Aliases

A Terminal alias is a name or shortcut for one or multiple commands. Using an easy to remember alias, we can turn the above four step process into just one.

An alias can be made temporarily (just for the use of one terminal session) or permanently. As we want this to be a shortcut used now and in the future, let's make it permanent:

  1. Open Terminal found in Finder > Applications > Utilities
  2. In Terminal, paste the following: sudo nano ~/.bash_profile
  3. Enter your Mac's administration password if required, then hit return
  4. At the bottom of the open .bash_profile file, paste the following: alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
  5. Below that, paste the following: alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'

  6. Press ctrl + O and hit return to save the file
  7. Press ctrl + X to exit the file and return to the command line
  8. In Terminal, paste the following: source ~/.bash_profile to refresh your profile and make the aliases available

Now when you want to show hidden files, all you need type in Terminal is showFiles, then hideFiles when you want to hide them.

If you want to modify the behaviour or alias names, let's take a closer look at the commands you just added:

alias tells Terminal we're adding a new alias.

showFiles is the name of the alias. Change this to what you wish.

We then give the alias two commands. The first being:

This is the command to show hidden files and is ended with a semi-colon ; so we can then use the second command:

This will relaunch the Finder (to replicate the step of holding the 'Option/alt' key then right clicking the Finder icon in the dock).

Conclusion

With the aliases set up, all you need do in the future is type showFiles and hideFiles to show and hide Mac OS X's hidden files respectively.

Aliases can be used to speed up your interaction with the Terminal. Set up an alias for navigating to your most used directories, to commit to a GitHub repo and so on.

Ian Lunn is a Front-end Developer with 12 years commercial experience, author of CSS3 Foundations, and graduate of Internet Technology. He creates successful websites that are fast, easy to use, and built with best practices.

Solid-state storage (SSD) is fantastically fast, but its high cost means that Macs with built-in SSD startup drives have a much lower capacity than their hard disk-based counterparts. This can be a problem if you have a large collection of photos or music files, or if you use your Mac to edit video. And so, if you have an SSD, you probably spend a lot of time checking the Storage tab in About this Mac. One thing you’ll have noticed is that colored bar labeled ‘System’. What is it and how do you clear it? Read on and find out.

What is System storage on Mac?

System storage, obviously, contains the macOS itself but what else is there? Part of this storage includes applications, drivers, volume data, and Library. While the nominal size of the macOS is around 12 GB (for macOS Big Sur), the Library is the real space-hogger. It contains piles of old cache files and supporting data.

Why does the system take so much space on Mac?

Your system is mainly stored in both the System and Library folders. If your system is taking up too much disk space on Mac, explore those two folders and see what's stored in them.

If you’re having a lot of your space allocated for “system,” you may have Time Machine snapshots stored on your Mac. Later in this article, we’re going to explain how to remove Time Machine backups.

How to reduce system storage on Mac

1. Check for unnecessary files in System storage

Much of the storage space used by the OS for system-related tasks is cleared when macOS deletes the files automatically, but sometimes that doesn’t happen, which is why the System category can grow very large. Apple doesn’t explain what comprises this category of storage, but it’s likely that the following are part of it:

  • Time Machine backups
  • Old iOS backups
  • File Vault files
  • App cache files
  • Unused disk images

Not knowing what files are included in System storage makes finding them tricky. However, it’s far from impossible. My favorite tool for clearing unnecessary system junk from my Mac is CleanMyMac X. It has lots of tools for clearing out junk files, but for our purposes, there’s one that really helps: System Junk. This handy utility scans your Mac and identifies things like temporary files, translation files in apps, broken preferences files, old updates, and system cache files that are no longer needed. You can then remove them with one click. Or you can choose which ones you want to get rid of and remove just those. If you want to give it a go, you can download a free version of CleanMyMac X here.

Once you’ve downloaded and installed it, do this:

  1. Launch CleanMyMac X.
  2. Choose System Junk in the sidebar.
  3. Press Scan.
  4. Once it’s finished, if you’re happy to remove the files CleanMyMac recommends, press Clean.
  5. If not, choose Review Details and go through the list of results.
  6. Uncheck the box next to any items you don’t want to delete.

That will help you to get rid of system storage on Mac.

As you can see from the screenshot, the app offers to remove my Unused Disk Images (the remains of DMG installers), broken downloads, old app updates. If you use Photoshop or other media editor you’ll see the option to delete Document Versions — intermediate edits of your files. In other words, you have many options for freeing up space at your disposal.

2. Manually remove Time Machine backups

Aside from using CleanMyMac X, one of the most straightforward ways to clear system storage on a Mac, is to get rid of Time Machine backups. Wait, what? You thought Time Machine backups were stored on an external or network drive? They are! But macOS also keeps a copy of your backup on your startup drive, in case the external drive isn’t available when you need to restore files. That way you can restore data on a MacBook even when you’re on the move.

macOS should delete Time Machine backups when your Mac runs low on storage, but it doesn’t always work out that way. And besides, you might not want to wait until your Mac is short of space before you delete them. So, here’s how to reduce system storage on a Mac by deleting Time Machine backups. Remember that will delete local copies of your backups, so if you think you might need them, don’t do it.

  1. Go to Applications > Utilities and launch Terminal.
  2. When a Terminal window opens, type: tmutil listlocalsnapshotdates
  3. Press Return.

You will now see a list of stored Time Machine backups, listed by date.

  1. Type: tmutil deletelocalsnapshots xxxxxxx where ‘xxxxxxx’ is the name of one of the backups listed . This will take the form of a date followed by a text string.
  2. Press Return.
  3. Repeat steps 1 and 2 for as many backups as you want to remove, checking the Storage tab in About this Mac each time to see how much space you’ve cleared.

3. Optimize your storage

If you’ve faced a cluttered storage situation, there’s another way to fix it. Apple has anticipated such an issue and equipped the macOS with some features to optimize your space.

Go to the Apple menu and select About This Mac. Select the Storage tab and press Manage. In the window that appears, you can see some of the useful suggestions. 'Store in iCloud' lets you transfer all your data to cloud storage and reclaim some GBs on your Mac. The second option allows you to delete the heaviest files, like movies and programs.

Turning on 'Empty Bin Automatically' can be a useful option if you forget to do it regularly.

By pressing Review Files, you will jump into the Documents section. Review the files that are stored on your Mac and pay attention to the Unsupported Apps category. It can contain some programs that can no longer run on your macOS version.

Bonus tip: remove duplicate files

Aside from the bizarre system files, another thing that nibbles on your storage is duplicates. Remember that track you’ve accidentally added twice? Or a mail attachment you’ve opened several times? All these files just sit on your Mac and take up precious space.

Show Hidden Library Folder Time Machine Command

Here’s how you can quickly delete them in a few clicks.

  1. Download and open Gemini 2
  2. Choose a folder and click Scan for Duplicates
  3. Wait for the scan to finish

Now you can Click Smart Cleanup to get rid of detected duplicates and delete system storage on Mac. Or click Review Results if you want to double-check what’s being deleted.

What else can you do to reduce System storage on Mac?

Believe it or not, one thing you can do is wait. When you first choose the Storage tab in About this Mac, macOS seems to allocate quite a lot to System that it then reallocates elsewhere. For example, some users have reported that after waiting for a few minutes, much of the storage that was labeled System, is moved to the iCloud label. So if you wait, you might find that the System isn’t taking up disk space in the huge quantities that it seemed to be at first.

The other thing you can do is investigate what files are designated as ‘System’. We’ve already talked about Time Machine backups, but everything stored in your Mac’s System or Library folders comes under the ‘System’ heading in About this Mac. That is:

/Library

/System

~/Library

~/System

Click on the Go menu in Finder and select Go to Folder, then paste in each of the paths above in turn.

Go through the subfolders in each and press Cmd-I to Get Info and check how much data is in each. You’ll quickly discover where your precious storage has gone.

It’s likely that much of it is accounted for by cache files for apps like Photos and Safari. MacOS caches as much data as it can to avoid having to re-download it, which boosts performance. And it’s smart enough to know that it must delete cache files when you run low on storage.

If you decide that you don’t want to leave it up to the operating system to free up storage, don’t just start trashing cache files or folders randomly, you might delete something you shouldn’t. So be careful

Another way to go about it, is to use a storage analyzer. There are nice apps that search for hidden space on Mac and reveal your largest folders. You can use a free version of CleanMyMac X and inside it, it has a feature called 'Space Lens.'

Those bubbles show your largest folders and you can zoom in and out and delete junk files right from there.

A fun and visual way to delete system storage on Mac.

Show Hidden Library Folder Time Machine Free

System storage can occupy tens of gigabytes of space on your Mac for Time Machine backups and cache files. It should be managed by macOS so you’re never short of space. But if you want to do a system storage cleanup, or just free up more space on your Mac, give CleanMyMac X a go. You might be surprised by how much space you get back.