Hi today I run out of space in my Dropbox free account so I decided to reorder it and clean the unnecessary files...
but I suddenly realized that the best thing would have been to have different account dedicated to different data sets so not to risk to delete something unwillingly.
So I made some researches and come out with a pretty neat solution which should in principle work with any number of account (I have basically 4):
- first download a Dropbox distro, I choosed a forum build, but you can also simply install the .deb package form apt or whatever installation managers: http://forums.dropbox.com/topic.php?id=40283 (in the case you installed the distro you find the distro in .dropbox-dist in your home folder)
- make a dir with a name for your dropbox instance: mkdir .dropbox_<alt-name>
- copy the dropbox files into an installation dir .dropbox_<alt-name>/.dropbox-dist
- run the installation for an instance with the different storage dir : HOME=~/.dropbox_<alt-name> .dropbox_<alt-name>/.dropbox-dist/dropbox -i &
- (for lazy people like me) as root prepare a script /usr/bin/dropboxMulti adjusting your directories (mine will start 5 instances):
- if ([ "$#" -ne 1 ])
- echo "Usage: $0 start/stop"
- echo "This script will start multiple dropbox instances and can cause an intense usage of network bandwidth "
- echo ""
- exit 1
- #. starts the original one
- dropboxes=". .dropbox-epfl .dropbox-musica .dropbox-photo .dropbox-pdf "
- for dropbox in $dropboxes
- if ! [ -d $HOME/$dropbox ];then
- mkdir $HOME/$dropbox 2> /dev/null
- ln -s $HOME/.Xauthority $HOME/$dropbox/ 2> /dev/null
- HOME=$HOME/$dropbox /usr/bin/dropbox $ACTION 2> /dev/null &
- sudo chmod +x /usr/bin/dropboxMulti to make it executable
- to make it run at boot edit /etc/rc.local as root :
su <your user name> -c "/usr/bin/dropboxMulti start"
other OS informations here http://wiki.dropbox.com/TipsAndTricks/MultipleInstancesOnUnix