Skip to content

Instantly share code, notes, and snippets.

@tomoh1r
Last active December 20, 2015 04:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomoh1r/6068613 to your computer and use it in GitHub Desktop.
Save tomoh1r/6068613 to your computer and use it in GitHub Desktop.
Use multi Dropbox account on single Mac OS X

Use multi Dropbox account on single Mac OS X

How to use

$ touch ~/Library/LaunchAgents/local.dropbox.personal.plist
$ vim ~/Library/LaunchAgents/local.dropbox.personal.plist
$ launchctl load ~/Library/LaunchAgents/local.dropbox.personal.plist
<?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