s3syncr

0.1.1 • Public • Published

s3syncr

This is a simple utility to keep a local directory in sync with a path on Amazon S3.

Install

npm install -g s3syncr

Usage

Upload a file:

s3syncr --file myfile.txt --bucket mybucket.com:files/

Download a file:

s3syncr --bucket mybucket.com:files/file.txt --file myfile.txt

Sync bucket directory with local directory:

s3syncr --dir local/path --bucket yourbucket.url[:bucket/path] [--serverencryption]

Download bucket directory to local directory:

s3syncr --bucket yourbucket.url[:bucket/path] --dir local/path [--serverencryption]

Options

--serverencryption Instructs Amazon S3 to store files with AES256 disk-encryption

Dependencies

    "aws-sdk": "^2.2.11",
    "checksum": "^0.1.1",
    "promise": "^7.0.4",
    "verror": "^1.6.0"

License

Copyright (c) 2015 Jake Gardner

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme

Keywords

Package Sidebar

Install

npm i s3syncr

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jakegardner