go3up

command module
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 25 Imported by: 0

README

Go S3 Uploader

Build Status Go Report Card Codecov GoDoc

Go3Up (Go S3 Uploader) is a small S3 uploader tool.

It was created in order to speed up S3 uploads by employing a local caching of files' md5 sums. That way, on subsequent runs, go3up can compute a list of the files that changed since the last upload and only upload those.

The initial use case was a large static site (with 10k+ files) that frequently changed only a small subset of files (about ~100 routinely). In that particular case, the time reduction by switching from s3cmd to go3up was significant.

On uploads with empty cache there may not be any benefit.

The current focus of the tool is just one way/uploads (without deleting things that were removed locally, yet).

Usage

Run go3up -h to get the help. You can save your preferences to a .go3up.json config file by passing your command line flags as usual and adding "-save" at the end.

For authentication, see http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html as we pretty much support all of those options, in this order: shared profile; EC2 role; env vars.

TODO

  • implement (optional) deletion of remote files missing on local.

Documentation

Overview

Go3Up (Go S3 Uploader) is a small S3 uploader tool.

It was created in order to speed up S3 uploads by employing a local caching of files' md5 sums. That way, on subsequent runs, go3up can compute a list of the files that changed since the last upload and only upload those.

The initial use case was a large static site (with 10k+ files) that frequently changed only a small subset of files (about ~100 routinely). In that particular case, the time reduction by switching from s3cmd to go3up was significant.

On uploads with empty cache there may not be any benefit.

The current focus of the tool is just one way/uploads (without deleting things that were removed locally, yet). That may (or not) change in the future.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL