Skip to content

Python Script that allows you to automatically upload files from a desired file folder.

Notifications You must be signed in to change notification settings

zubaldavid/S3-Backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

S3-Backup

Python Script that allows you to automatically upload files to S3 from a desred file folder.

Prerequisites

The steps below have are written with the assumption that you have an AWS account and a bucket already setup in S3. If not, visit Amazon AWS S3 Docs to learn how to create a bucket.

Setup

  1. Download S3_Backup.py and open in text editor.
  2. Edit AWS Key ID, Secret Key, and Bucket Name to match your own.
ACCESS_KEY_ID = 'xxxxxxxxxxxxxxxxxxxx'
ACESSS_SECRETY_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' 
BUCKET_NAME = 'bucketxxx' 
  1. Edit line 22 with the desired local file folder.
source = ''	
  1. Edit line 26 with the desired file type.
if filepath.endswith(".pdf"):

Automation

Mac OS X

Windows

You're All Set!

About

Python Script that allows you to automatically upload files from a desired file folder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages