inotify_s3
                                
                                
                                
                                    inotify_s3 copied to clipboard
                            
                            
                            
                        Bash: Inotify files sync to Amazon S3 Cloud
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