Skip to content

Instantly share code, notes, and snippets.

@jordandraper
Last active July 22, 2020 23:09
Show Gist options
  • Save jordandraper/af8211a96c7a9a649cfcd641a15394d7 to your computer and use it in GitHub Desktop.
Save jordandraper/af8211a96c7a9a649cfcd641a15394d7 to your computer and use it in GitHub Desktop.
# archive of https://discussions.apple.com/thread/5523412
1. Create a folder named "Dropbox-second" anywhere you like.
2. Open terminal, write "bash" and press enter.
3. paste the line below and press enter. (Don't close the terminal window)
`HOME=$HOME/Dropbox-second /Applications/Dropbox.app/Contents/MacOS/Dropbox &`
4. A second dropbox instance will open requiring you to sign in. Go ahead sign-in and then click advanced and point to the "Dropbox-second" folder you created.
5. Close the terminal window and close the second instance of the dropbox from the top bar. (Click on the icon -> Click on the gear -> Quit Dropbox)
6. Now open AppleScript Editor and paste the following
do shell script "HOME=$HOME/Dropbox-second /Applications/Dropbox.app/Contents/MacOS/Dropbox > /dev/null 2>&1 &"
7. Click run and you will see the second icon of Dropbox in the top bar appear again.
8. Click stop and then from file save this as an application anywhere you like. Give a name like "DBMore" or anything you like.
9.Now to make sure every time you login to your account the second dropbox starts, go to system preferences->users & groups-> select the current user-> click login items on the right->click the + sign to add "DBMore" application you created.
That's it you're done.
10. If you want to be able to differentiate between the two dropbox accounts click on the second dropbox icon in the top bar -> click the gear -> click preferences -> general -> use black and white menu bar icons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment