Access Library Folder Mac Yosemite
Just like the Windows operating system, the MacOS operating system has a hidden Library folder full of settings you shouldn’t really touch. Deleting some or all of these settings will at best force you to reinstall certain apps, and at worst, cause the whole system to collapse and require a complete reinstall.
- December 22nd 2015: 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.
- In the Go To Folder dialog box, type /Library Click Go. Method 2 Hold down the Alt (Option) key when using the Go menu.
But there may be times when accessing the Library folder is necessary. For example, many apps put backups in the Library folder and you may want to back up the backup. Or you might be customising your Mac, which will need access to certain library folders.
Access Library Folder Mac Yosemite Free
Here is how to get there and not cause your Mac to collapse in a cloud of dust in the process.
Dec 12, 2016 The User Library folder is hidden by default in MacOS Catalina, MacOS Mojave, macOS High Sierra, and macOS Sierra, but some advanced users may wish to show and access the /Library/ folder, which contains preference files, caches, and application support data.
What Is The Library Folder On MacOS?
The library folder is the area of your MacOS computer where app settings are stored. When you install a program, a folder is created in the Library for all of the essential settings. This can be anything from plugins, preference files and log files.
It’s hidden because basically some people are just plain clumsy and quite often don’t know what they are deleting. It’s only when it’s too late when they realise that something they just deleted should have been kept.
So you could say that Apple is protecting you against your own worst impulses!
How To Find The Hidden Library Folder On MacOS
There are two ways to get to the hidden Library folder if you are confident enough of not triggering a nuclear apocalypse. But the second way is only really feasible when you know where to look.
First Method (The Easiest)
Go to Finder and drop down the “Go” menu. You’ll see that the Library folder is not listed.
To make the Library folder appear, press the “Alt” key (also known as the Option key) at the bottom left of your keyboard. The Library folder will now appear.
Click on the Library folder option to be taken straight to the folder.
The problem though with this method is that this is very temporary. As soon as you take your finger off the alt key, the Library folder will disappear again.
Second Method (Not Difficult)
Once you know the path to the folder (by following the previous method), you can then use the path to go directly to the Library folder.
At the top of the Library folder, you will see the exact path (location) of the folder on your computer.
I have covered over my username in the screenshot, but the path is :
With that in mind, go back to Finder’s Go menu and at the bottom, you’ll see this option :
Choosing “Go to Folder” will bring up a box where you can type the path to the Library folder. Hitting the “enter” key will then take you straight there.
Even better, until you input the path to a different folder, the path to the Library will remain in the “Go to Folder” box.

When it is gone, dropping down the menu arrow on the right hand side will show you a list of previous folders you went to, and the Library one will be there too.
Conclusion
There used to be a way to keep the Library folder showing permanently. But as of High Sierra, the Terminal command no longer seems to work.
However, keeping the folder permanently visible isn’t a good idea since you might delete a system-critical file. Besides, as you have just seen, it is not difficult at all to go to the folder when you need it.
Updates
January 26th 2018: Added shortcut method available on macOS Sierra keyboard.
September 22nd 2016: Method of showing/hiding hidden files tested and working on macOS Sierra.
December 22nd 2015: 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
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.
Access Library Folder Mac Yosemite Drive
Show/Hide Hidden Files the Long Way
The long way to show hidden Mac OS X files is as follows:
- Open Terminal found in Finder > Applications > Utilities
- In Terminal, paste the following:
defaults write com.apple.finder AppleShowAllFiles YES
- Press return
- Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch.
Relaunch Finder by right clicking the Finder Icon whilst holding the ‘Option/alt’ key
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:
- Open Terminal found in Finder > Applications > Utilities
- In Terminal, paste the following:
sudo nano ~/.bash_profile
- Enter your Mac’s administration password if required, then hit return
- 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'
Below that, paste the following:
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
- Press ctrl + O and hit return to save the file
- Press ctrl + X to exit the file and return to the command line
- 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:
There's a Preferences folder, a Caches folder, an Application Support folder, etc) with files/subfolders per application (or system component, or whatever). The system library, /System/Library, stores the base settings, resources, etc that come with OS X. In theory, you shouldn't change anything in here.Now, as for the files inside the various library folders: Most of them are organized by type (e.g. Where a mac librari. The network library, /Network/Library would store settings shared by all computers in a network domain - if a network domain admin set one up, which nobody does anymore.
alias
tells Terminal we’re adding a new alias.
showFiles
is the name of the alias. Change this to what you wish.
How to turn off library on mac. 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.