s3-auto-sync

0.1.1 • Public • Published

s3-auto-sync

Watches a folder and syncs it to an s3 bucket of your choice.

demo

Pre-requisites

  • You need to have valid aws credentials in your path.
  • You need to have at least PutObject permission to the bucket.
  • Make sure that the bucket you're uploading to or wanting to create is in your local region, otherwise upload will be extremely slow.

Getting started

A small cli that watches a folder and uploads every change to s3

  1. Install via npm npm install s3-auto-sync -g
  2. Usage: s3-auto-sync -b my-bucket -d ./my-folder (You can also just go s3-auto-sync auto prompt will guide you through)

If the folder is new, the cli will ask if you want to create one

Options

-r -region  # region you're uploading to. 
-d -dir     # directory to be watched 
-b -bucket  # bucket name to upload to 

/s3-auto-sync/

    Package Sidebar

    Install

    npm i s3-auto-sync

    Weekly Downloads

    18

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    1.07 MB

    Total Files

    8

    Last publish

    Collaborators

    • juliankrispel