How do I change the Dropbox directory on a headless GNU/Linux server?
Solution 1:
So here's my trick:
First I remove all related folder created in my home folder
rm -rf ~/.dropbox-dist
I also remove Dropbox default folder:
rm -rf ~/Dropbox
So then I reinstalled dropbox daemon by define HOME env var like this:
HOME=/data/other_folder dropbox.py start -i
Next, start dropboxd daemon manually by run:
HOME=/data/other_folder /data/other_folder/.dropbox-dist/dropboxd
Then wait it till finish.
Solution 2:
You could just create a symlink to ~/Dropbox
ln -s <dir-that-you-want-to-sync> ~/Dropbox