I use this script on my linux machines to whitelist a single folder located in my ~/Dropbox/server-sync
directory. Here I have a separate folder for each of my servers.
To run the script use:
dropbox_whitelist [options] <serverName>
-k|--keep keep all byproduct files (use for debugging)
-h|--help show this message
-v|--version show version number
serverName the name of the server folder to retain in server-sync folder
So, to only sync the folder ~/Dropbox/server-sync/soxs-eso-data
I would run the command:
dropbox_whitelist soxs-eso-data
The script will need to be run frequently (e.g. via cron) to exclude new Dropbox files and folders generated on other machines.