This script is useful if you have important files scattered all over the hard drive and you don't want to loose when your computer gets screwed up.
- Clone the Repo.
- Rename file.example.json to file.json.
- Add local file path and equivalent dropbox file path as mentioned in the file.example.json.
- Generate Access token for your dropbox account as mentioned in this link
- Set the env virable
ACCESS_TOKEN
with token generated form Dropbox. - Run
node index.js
to sync.