New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/alexaandru/go3up

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/alexaandru/go3up

v1.10.0
Source
Go
Version published
Created
Source

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.

FAQs

Package last updated on 23 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts