Skip to content

Instantly share code, notes, and snippets.

View freezurbern's full-sized avatar

Zachery Slocum freezurbern

View GitHub Profile
@freezurbern
freezurbern / upload2dropbox.py
Last active August 6, 2019 18:30 — forked from Keshava11/SFileUploader.py
Simple python script to upload small and large directories to Dropbox.
# Prerequisites :
# 1.SetUp dropbox sdk to be able to use Dropbox Api's, https://www.dropbox.com/developers/apps/create
# $ sudo pip install dropbox
# By default python dropbox sdk is based upon the python 3.5
#
# 2. Create an App on dropbox console (https://www.dropbox.com/developers/apps) which will be used and validated to do
# the file upload and restore using dropbox api. Mostly you need an access token to connect to Dropbox before actual file/folder operations.
#
# 3. Once done with code, run the script by following command
# $ python upload2dropbox.py FOLDERNAME // if python3.5 is default