Skip to content

Monitors a specific file, and uploads the file to a specific s3 bucket on modification

Notifications You must be signed in to change notification settings

canadiancreed/monitor-specific-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

This script monitors a specific file, and uploads the file to a specific s3 bucket

Setup:

Before this script is executed, the following varaibles need to be set in the environment of the OS it is executed in

AWS_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY

Here's a sample command to start the script

python main.py ido20221027200632903600000001 myfile.txt

where ido20221027200632903600000001 is the s3 bucket, and myfile.txt as the file to monitor.

About

Monitors a specific file, and uploads the file to a specific s3 bucket on modification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages