Problem to be Solved
You’ve got a great backup of your OSX computer, and you need to get something back from the Library folder, say something in the Application Support subfolder. These instructions will show you how to do unhide the User Library folder on the external drive or even on a second Mac.
Credit goes to Steve Davidson for teaching me how to do this.
Let’s Start with a Remote Mac Because the Syntax is Simpler
On the remote Mac, enable Remote Login (https://www.podfeet.com/blog/how-to-set-up-a-mac-for-remote-login/) and use the ssh command to Secure Shell into the remote Mac. In this example, our local machien name is Podfeet-rMBP, and our remote Mac’s name is Core-i7-4.local.
I have the same user account on both but I used the allison@ the beginning to show you how to enter your user name if it’s different on the other Mac.
Note that the Library Folder is Not Visible
Here’s a screenshot of the remote Mac Core i7, and the Library folder is invisible.
Enter the chflags nohidden Command
Enter:
chflags nohidden ~/Library/
User Library Folder is Now Visible on the Remote Mac
Next Let’s Repeat This On An External Volume
My backup drive has a nice long annoying name “Core i7 backup 2011 03 03”. As you can see I have a backup of my home (allison) directory but I can’t see the Library folder.
Repeat the chflags Command
In this case we have the same command but we have to navigate first to Volumes, then to the specific backup drive name (with those annoying spaces replaced with \ and space) and then to the user directory and then Library.
chflags nohidden /Volumes/Core\ i7\ backup\ 2011\ 03\ 03/allison/Library
To be honest it might be easier to change the name of the volume not to have spaces than it is to type it this way!
Or you could use quotes like this:
chflags nohidden /Volumes/'Core i7 backup 2011 03 03'/allison/Library
Now Your Library is Visible on Your Backup Volume
Important note – you only have to do this one time, every time you connect your external drive the Library will be visible.
Or… use Finder
Shift – Cmd – G = Goto folder …
/Volumes/allison/Library/
Where do you type this? Will this work with OS Sierra?
I don’t follow your question, Anonymous. Joeri doesn’t actually understand the problem I was solving. His solution only works on the local volume. Follow my instructions if you need to access the Library folder on another Mac on the network.
Thank you!
I lost all my files and folders on Aloha app on my iPhone can you help me to get back my videos
I wasn’t getting the terminal command to work. I did it like Joeri said, go to folder.
My external drive is mac osx.
/volumes/mac osx/users/username/library