npm install aws-s3-syncbash
$ s3sync
$
$ Options:
$
$ -f, --force-upload Upload all files
$ -i, --incremental-mode Only upload new/changed file
`$3
create the `.s3sync.json` file in your current working directory.`json
{
"source": "./lib",
"dest": "s3sync",
"accessKeyId": "amazon-key",
"secretAccessKey": "amazon-secret",
"region": "us-west-2",
"cacheControl": "max-age:3600",
"bucket": "bucket-name"
}
``