A script to move all files from one folder to another in dropbox. It expects a JSON file credentials.json
in the same directory of the form:
{
"accessToken": "ACCESS_TOKEN",
"sourceFolder": "/src_folder",
"destinationFolder": "/dest_folder"
}
I use this to move files from my wife's Camera Uploads folder (she has the free version with ~3 GB of space) to a backup folder on my dropbox (I have pro, so > 1 TB). In my case, we have set it up so that she shares her uploads folder with me and I have full administrative access (i.e. I can delete). Dropbox is smart enough to not re-upload photos that have been moved or renamed.