Skip to content

Bash: Inotify files sync to Amazon S3 Cloud

Notifications You must be signed in to change notification settings

bpaterni/inotify_s3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

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

About

Bash: Inotify files sync to Amazon S3 Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%