Backup local files to Dropbox
- Clone
config.ini.example
toconfig.ini
ACCESS_TOKEN
: Create an app with access typeApp folder
and get access token from https://www.dropbox.com/developers/appsBACKUP_PATHS
: Specify files or dirs to backup, separate line by line
BACKUP_PATHS = ~/first_file
~/first_dir
/var/second_dir
- Install requirement and run the script
pip3 install -r requirement.txt
chmod +x dbak.py && python3 dbak.py