Dropbox sync folder outside dropbox folder on linux debian

Published: January 22, 2015 | Last Modified: June 11, 2020

If you have a folder/directory that resides outside of the Dropbox folder you can still sync it to Dropbox. You need to create a symlink between the folders. To do this:

1 - Go to the dropbox directory you want to have the external directory linked to

cd /path/to/dropbox/directory

2 - Create the symlink to the directory outside of the Dropbox directory

ln -s /path/to/external/directory

3 - That's it. Go to /path/to/dropbox/directory and you should see the /path/to/external/directory there with all the files. Dropbox will now sync those files

Learn more about ln and symlinks here