Skip to content

Tool for watching a directory for new/changed files and uploading them to S3

License

Notifications You must be signed in to change notification settings

szeber/directory_s3_watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directory watcher & S3 uploader

This app watches a directory (specified either by an ENV var or the -path parameter) and uploads all files (non-recursively) to an S3 bucket (specified either by an ENV var or the -bucket parameter).

Configuration

The following environment variables are supported:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • AWS_BUCKET
  • WATCH_PATH

Building

go build src/directory_s3_watcher.go

Building the docker image

docker build .

About

Tool for watching a directory for new/changed files and uploading them to S3

Resources

License

Stars

Watchers

Forks

Packages

No packages published