Skip to content

Instantly share code, notes, and snippets.

@Bragegs
Bragegs / upload_dir_files_to_s3.py
Last active May 14, 2018 11:43
Python snippet to recursively upload local directory files into existing S3-bucket
# Based on https://gist.github.com/SavvyGuard/6115006
import boto
import boto.s3
import os.path
import sys
# Fill these in - you get them when you sign up for S3
AWS_ACCESS_KEY_ID = ''
AWS_ACCESS_KEY_SECRET = ''