Use multiple dropbox accounts at the same time

Last Updated: 2015-04-12

Update: Use copy - it provides up to 45GB for free.


Due to various reasons one may want to use more than one synced dropbox folder... and there is quite an easy way to accomplish that using linux.

First, create a new dropbox directory for each account you want to use, e.g.

mkdir $HOME/.dropbox-2

Then, copy the .dropbox-dist folder to .dropbox-dist2 (you need as many copies of it as you want to use accounts on the same computer). Install dropbox once again with

HOME=$HOME/.dropbox-2 /path/to/your/.dropbox-dist2/dropbox start -i

just like you used to install it - log into your account, configure the folders to be synced and so on...

If everything is set up, all what is left to do is to write a small bash script that calls the dropboxd(!) executable with the right parameters automatically at login. This is done by creating a file with the following content,

HOME=$HOME/.dropbox-2 /path/to/your/.dropbox-dist2/dropboxd

and place it (or a link to it) in the autostart directory (do not forget to do a chmod +x on the bash script!). That's basically it! :)



It might be quite convenient to place the Dropbox folder in the .dropbox-X dir and create a symbolic link pointing there from your home directory.

This was tested with Ubuntu 12.04, 12.10, 13.04, 13.10 and (K)ubuntu 14.04. and with Dropbox version 1.6 up to Dropbox 2.8.2 as of now.

Not yet rated