Click here to return to the 'Permanently Unhide Library' hint |
Jan 12, 2020 How to Make the Library Visible Permanently. Launch Terminal, located in /Applications/Utilities. Enter the following command at the Terminal prompt: Press Return. Once the command executes, you can quit Terminal. The Library folder will now be visible in the Finder. Should you ever wish to set.
A simple thing I did was to unhide the Library folder and then drag it into my Sidebar. Even if an update hides it again, it's just one click away.
Or make an alias of the '~/Library' folder called '~/Library .'
I thought this was a big deal until I actually got Lion and found that option-clicking on the 'Go' Menu item it was there in the list. that's easy enough for me.
Macintosh: Application Name Language Code Version OLB. For example: The object library for French Visual Basic for Applications, Version 2 was VA FR 2 OLB. The French Microsoft Excel 5.0 object library was MS Excel FR 50 OLB. If you can't find a missing project or library on your system. Excel 365 vba can't find project or library. Following the steps: Step 1. Open the MS Excel file, giving an error message. Ensure that the sheet that has defined functions or buttons is selected. Press 'ALT and F11 keys', for VB Editor in a new window (as below). Click on Tools menu and then select References from. Can't find project or library, reference with FileSystemObject with Excel VBA on Mac. In code that I have I reference the Microsoft Scripting Runtime library, to make use of the FileSystemObject. Of course this won't work on a Mac. Jan 04, 2013 Compile Error: Can't find project or library. Windows vs MAC issue? A workbook I've developed in Excel 2010 for Windows, using VBA code (Userforms, databases, etc), has problems when opened in Excel 2010 on a MAC. Mar 19, 2020 When I try to install an Add-in I get the message 'can't find project or library'. Does anyone know what to do when I get this message? I really would like to install the Add-in that I was used to working with in the Windows version of excel. Excel / Mac / Office 2011 for Mac; Answer j.e. Mcgimpsey Replied on August 10, 2011.
This should be the hint.
I simply can't imagine that a person needs to access that folder often enough to justify un-hiding it. You can easily access the Library when you need it by holding 'option' and choosing Library from the Finder's Go menu.
As a software developer, I definitely need immediate access to this folder, preferable in the way I have always had access to it, by simply double-clicking the folder.
This is interesting. I made my Library folder visible when I first installed Lion, and it has stayed that way through every update. I can't remember what method I used though.
Here's a launchd plist that will do the same thing, but without the need for AppleScript, login items, etc. Just drop it in /Library/LaunchDaemons and set the permissions properly.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC '-//Apple//DTD PLIST 1.0//EN' 'http://www.apple.com/DTDs/PropertyList-1.0.dtd'>
<plist version='1.0'>
<dict>
<key>Label</key>
<string>local.library.nohidden</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/chflags</string>
<string>nohidden</string>
<string>/Users/*/Library</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>EnableGlobbing</key>
<true/>
<key>StandardErrorPath</key>
<string>/dev/null</string>
</dict>
</plist>
Using the Option-Go menu is fine for the occasional use, but that doesn't work in File dialogs. VERY irritating that they reset this flag for updates or even feel the need to hide it in the first place.
All I do is run the command: $chflags nohidden ~/Library/ There is no need for //usr/bin/ (as mentioned in the previous hint) Then, browse to the folder in the Finder, drag it over into the sidebar, then do the command again. Only this time making it hidden: $chflags hidden ~/Library/ Then, it won't be visible in my ~ folder anymore, but it will still be perfectly accessible from the sidebar.
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.
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.
The long way to show hidden Mac OS X files is as follows:
defaults write com.apple.finder AppleShowAllFiles YES
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.
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:
sudo nano ~/.bash_profile
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'
source ~/.bash_profile
to refresh your profile and make the aliases availableNow 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).
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. Mac folder icon library. Set up an alias for navigating to your most used directories, to commit to a GitHub repo and so on.