Created
September 7, 2012 16:30
-
-
Save levigroker/3667585 to your computer and use it in GitHub Desktop.
Shell script to change the flags on the user's Library directory so it appears in the Finder once again.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>com.levigroker.unhide_library</string> | |
<key>LingonWhat</key> | |
<string>/Users/levi/Library/Automation/unhide_library.sh</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/levi/Library/Automation/unhide_library.sh</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
chflags nohidden ~/Library/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple LaunchAgent to unhide the user Library directory every time at login.
Change paths and filenames to suit yourself.
The plist belongs in ~/Library/LaunchAgents/ and can be loaded into launchd by 'launchctl load ' or via Lingon (GUI interface for LaunchAgent management, available in the Mac App Store)