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