Skip to content

Upload multiple files to S3 concurrently with or without a config file. WIP - do not use yet

Notifications You must be signed in to change notification settings

warrensbox/s3upload

Repository files navigation

Build Status Go Report Card CircleCI

s3uploader - Need further development - Open for MR - No longer maintained

drawing

The s3upload command line tool lets you upload files to s3. You have the option to provide a configuration file with s3 information and directory or provide the information as parameters on the command line.


Installation

s3upload is available for MacOS and Linux based operating systems.

Homebrew

Installation for MacOS is the easiest with Homebrew. If you do not have homebrew installed, click here{:target="_blank"}.

brew install warrensbox/tap/s3upload

Linux

Installation for Linux operation systems.

curl -L https://raw.githubusercontent.com/warrensbox/s3upload/release/install.sh | bash

Install from source

Alternatively, you can install the binary from the source here


How to use:

Use command line to provide s3 config information

drawing

  1. Provide s3 configuration and directory to upload information.
  2. For example, s3upload -b bucketname.s3.com -d directorytoupload.
  3. Use the -i parameter to include the base directory.
  4. Pass -h for more help.
  5. Pass -r for aws region.
  6. Pass -b for aws s3 bucket.

The most recently selected versions are presented at the top of the dropdown.

Use configuration file

drawing

  1. You can also supply a configuration file with
  2. For example, s3upload -c locationOfConfigFile. If you do not provide a config file, s3upload will look at the current directory.

Sample config file

Config json file should be named s3config.json and be placed in the root directory if you want s3upload to read the default conifg

{
    "source": "test",
    "bucket": "simple.s3.uploader",
    "exclude": "main,README.md"
}

Issues

Please open issues here: New Issue{:target="_blank"}

See how to upgrade, uninstall, troubleshoot here: Additional Info

About

Upload multiple files to S3 concurrently with or without a config file. WIP - do not use yet

Resources

Stars

Watchers

Forks

Packages

No packages published