Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Un-hide the User Library folder System 10.7
By default, the ~/Library folder is hidden in Lion. This is a big problem to many of the readers of this site, as many hints involve this folder (especially any involving hidden preferences).

You can easily un-hide this folder for easy access. Simply run the following command in Terminal:

chflags nohidden ~/Library

If, for some reason, you want to re-hide it, you can run the same command using 'hidden' instead of 'nohidden'.

You can actually use this command to hide or unhide any folder. Just put it's path in place of ~/Library.

[crarko adds: Works great. One of the first things I did.]
    •    
  • Currently 4.13 / 5
  You rated: 4 / 5 (15 votes cast)
 
[93,740 views]  

10.7: Un-hide the User Library folder | 18 comments | Create New Account
Click here to return to the '10.7: Un-hide the User Library folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Un-hide the User Library folder
Authored by: BrentT on Jul 21, '11 08:07:53AM

I am getting "permission denied". I am the administrator so I don't understand why I am getting this.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: balthisar on Jul 21, '11 05:53:18PM

You might have to sudo. On my Snow Leopard, I see that the directory is root:admin, so you shouldn't need to sudo, but you might as well try it anyway.

---
--Jim (me)



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: BrentT on Jul 22, '11 07:52:24AM

sudo did the trick. Thanks.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: michelle_eris on Jul 21, '11 08:33:33AM

Alternatively, after opening the library folder, using the Go menu, you can drag the folder's icon in the title bar to the Dock, Tool Bar, and/or the Side Bar.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: Anonymous on Jul 21, '11 11:45:06AM

Let me rephrase for clarity:

After opening "~/Library" using the "Go..." menu, you can drag the proxy icon (the icon in the titlebar) to the sidebar, etc.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: fulmar2 on Jul 21, '11 08:36:01AM

Freeware for that - allows you to temporarily (or permanently) hide / unhide files and folders. Basically, a GUI for those who don't want to mess with terminal.

http://gotoes.org/sales/ShowHiddenFilesMacOSX/



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: Anonymous on Jul 21, '11 12:12:17PM

That utility is for globally turning off and on the behaviour of hiding files. I don't have Lion yet, but I imagine by showing hidden files globally that way, you'd be able to Get Info on a file and turn off its individual visibility.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: edzworld on Jul 21, '11 10:04:54AM

All you need to do, on a per use basis, is hold down the OPTION key while selecting GO from the FILE MENU; Library automagically appears in the list.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: osxpounder on Jul 21, '11 10:07:12AM

To save Snow Leopard users time: this doesn't work in Snow Leopard.

I tried it and got this result: dyld: shared cached file was build against a different libSystem.dylib, ignoring cache

---
- iCal has gotten really awesome lately.


[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: Irene on Jul 21, '11 10:09:26AM

This is a simple but important hint. Thank you.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: billearl on Jul 21, '11 02:38:28PM

What would be a good way to check visibility of a folder, so visibility can be toggled?



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: billearl on Jul 21, '11 05:45:59PM
This works for toggling visibility of the user library folder. Is there a better way?
tell application "System Events"
	if visible of (path to library folder from user domain) then
		do shell script "chflags hidden ~/Library"
	else
		do shell script "chflags nohidden ~/Library"
	end if
end tell


[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: idmism on Jul 21, '11 07:19:38PM

how do i install Quartz Composer? i can't find it in installer.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: mrwarmth on Jul 23, '11 09:59:01AM

Works great, thanks for the hint. I did run into one hiccup though. I think this was just a random isolated instance but just in case anyone else gets weird behavior, repair your permissions. I changed the permissions of my Library folder and my downloads folder would appear empty (it wasn't empty before) and random files ranging from resource folders to language files and pretty much anything else you can think of was constantly appearing and disappearing.

I performed this hint on a fresh install of lion and it worked perfectly.

End result: Hint works as described, if you run into weird behavior just repair your permissions and try again.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: billearl on Jul 25, '11 09:20:25AM
A pure AppleScript way to toggle user library folder visibility:
tell application "System Events" to set visible of folder "~/Library" to not (visible of folder "~/Library")


[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: Jim Lester on Dec 04, '11 07:23:28PM

Thanks! I've been looking for this folder for weeks.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: benwiggy on Feb 04, '12 03:58:49AM

It's worth mentioning that installing the system update from 10.7.2 to 10.7.3 resets the user Library to be hidden again, so you'll need to run this command after any system update.



[ Reply to This | # ]
10.7: Un-hide the User Library folder
Authored by: ragnu on Feb 04, '12 04:56:38AM

When you launch Terminal, you're in your user home folder anyway, so you only need to type

chflags nohidden Library

The tilde and slash are superfluous.



[ Reply to This | # ]