0.0.5 • Published 12 years ago

s3ync v0.0.5

Weekly downloads
7
License
-
Repository
github
Last release
12 years ago

nodes3ync

node package to watch and sync s3 buckets to file system

Install

npm install s3ync

Usage

uses a file named 'auth', default is ./auth, override with -c config file

config file must be in JSON { "key":"access key", "secret":"secret key", "bucket":"bucket name" }

Bucket is optional in the config, it can be set or overriden with -b --bucket bucket name

Pull from a bucket using -p --pull, and set the directory with -d or --dir dir. dir is '.' by default

Without the pull option, s3ync will push a args list of files up to the specified bucket.

s3ync -c config/auth -b mybucket *.js

Above command will push all js files up to mybucket

s3ync -h | --help output

Usage: s3ync.bin options <file ...>

Options:

-h, --help             output usage information
-c, --config [file]    config file of s3 credentials
-b, --bucket [value]   override or set bucket with this value
-p, --pull             Pull from bucket
-d, --dir [directory]  Directory to write files
0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago