npm.io
0.1.7 • Published 10 years agoCLI

aws-s3-sync

Licence
MIT
Version
0.1.7
Deps
10
Vulns
1
Weekly
0

Amazon S3 Bucket Sync Tool

Usage

$ s3sync <config json file>
$
$ Options:
$
$   -f, --force-upload      Upload all files
$   -i, --incremental-mode  Only upload new/changed file
Configuration 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"
}