How to sync my Dropbox files with a preferred local folder?

Solution 1:

Dropbox currently does not support syncing folders outside the Dropbox folder, according to their web site.

However you can achieve this by creating a symbolic link between the Dropbox folder and the other folder you want sync, using this command:

sudo ln -s ~/Dropbox  **/path/to/another/folder**

So when you go inside /path/to/another/folder, you will be taken into ~/Dropbox
Make sure the other folder is accessible after linking.

Solution 2:

According to their site https://www.dropbox.com/help/12/en you can't sync folders outside the Dropbox folder, but there is a workaround in Ubuntu

To get other folders synced into Dropbox you have to create a symbolic link from the target folder to the Dropbox folder

For example:

ln -sfn ~/Documents ~/Dropbox

Solution 3:

My five cents:

Using a virtual machine it is quite easy

First stop all the shares or uninstall dropbox.

Just create virtual disk and mount it in /etc/fstab.

Mount it to the ~/Dropbox, i.e., /home/user/Dropbox/ . Like this

/dev/sdb1    /home/blue/Dropbox/           ext4    defaults        0       2