Skip to content

Instantly share code, notes, and snippets.

View fperrotta's full-sized avatar

Fer Perrotta fperrotta

View GitHub Profile
@fperrotta
fperrotta / aws-boto-s3-download-directory.py
Created October 6, 2019 19:34 — forked from freewayz/aws-boto-s3-download-directory.py
Download files and folder from amazon s3 using boto and pytho local system
#!/usr/bin/env python
import boto
import sys, os
from boto.s3.key import Key
from boto.exception import S3ResponseError
DOWNLOAD_LOCATION_PATH = os.path.expanduser("~") + "/s3-backup/"
if not os.path.exists(DOWNLOAD_LOCATION_PATH):