Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 471 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 471 Bytes

Push2 S3

Simple bash script. Watches specified directory for changes and copy newly created or modified files to Amazon S3 Cloud.

This uses the inotifywait program, which on a Debian-based system is part of the 'inotify-tools' package.

Configuration

Specify the following variables:

WATCH_DIR='/some/dir'
BUCKET='amazon_bucket_name'

Amazon Comand Line Interface

sudo apt-get install -y python-pip

sudo pip install awscli