Posted in random

How to use Dropbox with two or more accounts (aka. running two or more instances of dropbox)

I love dropbox.

I think i wrote about that in a previous post already.

Recently, I had to access two dropbox accounts simultaneously (it’s a long story).

However, Dropbox doesn’t officially allow you to run two instances of dropbox.

After searching on the web, I found a solution but it was really time consuming. However, in that solution, i found the secret:

HOME=/Users/$USER/.dropbox-alt /Applications/Dropbox.app/Contents/MacOS/Dropbox

What this does is change the “HOME” directory to a hidden folder called “.dropbox-alt” in your HOME directory, so that when Dropbox runs it starts a whole new instance. It’s that simple.

However, i want to be able to use this as an application and not type it into the command line each time. Enter Automator:

Open Automator by Typing “Automator” in spotlight, or clicking on “Applications” | “Automator”

Then click on “File” | “New” and choose “Application”

Image

Type “run shell script” on the left under “Actions” and drag it over to the workflow on the right. Then type in our one line shell script as follow (You can change .dropbox-alt for any other folder name you want)

HOME=/Users/$USER/.dropbox-alt /Applications/Dropbox.app/Contents/MacOS/Dropbox

When you are done, it should look like this:

Image

Now save it under /Applications with whatever name you want. I choose “DropboxAlt”.

Now if you want it to launch on startup, just open “Settings”  | “Users & Groups” and click on “Login Items” on the top right. Then the “+” button, and find your new Application to launch. Image

(PS. you might have to click on the bottom right lock icon & enter your password to make changes”

And that’s, it – you can now run more than 1 account with Dropbox @ the same time

Advertisement