$ touch ~/Library/LaunchAgents/local.dropbox.personal.plist
$ vim ~/Library/LaunchAgents/local.dropbox.personal.plist
$ launchctl load ~/Library/LaunchAgents/local.dropbox.personal.plist
Last active
December 20, 2015 04:09
-
-
Save tomoh1r/6068613 to your computer and use it in GitHub Desktop.
Use multi Dropbox account on single Mac OS X
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>EnvironmentVariables</key> | |
<dict> | |
<key>HOME</key> | |
<string>/path/to/other/Dropbox/HOME</string> | |
</dict> | |
<key>Label</key> | |
<string>local.dropbox.personal</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>Program</key> | |
<string>/Applications/Dropbox.app/Contents/MacOS/Dropbox</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment