0.0.12 • Published 11 years ago

s3cp v0.0.12

Weekly downloads
7
License
BSD
Repository
github
Last release
11 years ago

S3 file synchronization

Similar to rsync, or git. s3cp looks for the difference in remote files, and synchronizes them with either a pull, or push.

Help

  Usage: s3cp [options] [command]

  Commands:

    pull [config]          downloading files from s3
    push [config]          upload files to s3
    clean-pull [config]    re-downloads files to s3

  Options:

    -h, --help             output usage information
    -c, --config <config>  s3cp config path
    -s, --skip <count>     skip first N files for upload
    -v --validate          validate the server files before uploading

Here's how you publish files:

s3cp publish ./files.json --config ./credentials.json

files.json:

[
  {
    "path": "path/to/file",
    "name": "name-of-repo"
  },
  {
    "path": "another/path/to/file",
    "name": "name-of-repo2"
  },
]

credentials.json:

{
  key: "AWS_KEY",
  secret: "AWS_SECRET",
  bucket: "AWS_BUCKET"
}

Whenever you change files, simply re-publish with the same command, and s3cp will only copy the files that have changed.

To pull files from s3cp, call:

s3cp pull ./files.json --config ./credentials.json

s3cp will synchronize the local files whenever the remote files change.

0.0.12

11 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago