DEV Community

Cover image for s3-auto-sync - watch a folder and automatically sync it with an s3 bucket 🎉
Julian Krispel-Samsel
Julian Krispel-Samsel

Posted on

s3-auto-sync - watch a folder and automatically sync it with an s3 bucket 🎉

So I wrote this little cli tool that lets you upload files to an s3 bucket, as changes happen.

All you need to do is install it:

npm install s3-auto-sync -g
Enter fullscreen mode Exit fullscreen mode

And use it like so:

s3-auto-sync -b my-bucket -d ./my-folder -r eu-east-1
Enter fullscreen mode Exit fullscreen mode

Make sure you set the region that you're in, otherwise performance will be slow.

That's it, practically your own little dropbox 🚀

The npm package is here: https://www.npmjs.com/package/s3-auto-sync
And the github repo is here: https://github.com/juliankrispel/s3-auto-sync

If you have any suggestions for features or improvements, by all means open an issue or a pr 🙌

Top comments (0)