rossdeane / bash-upload

An S3 uploader in bash.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash-upload

An S3 file uploader in bash.

Prerequisites

  • s3cmd
  • An S3 bucket that is publically accessible

Optional

  • A domain pointing to your s3 bucket

Setup

Set S3_BUCKET_NAME to the name of your bucket, not including the s3:// prefix.

Set BASE_URL to the a domain pointing to your bucket, or failing that the url of the bucket itself.

Usage

./upload.sh my_screenshot_img.png

Demo

About

An S3 uploader in bash.

License:MIT License


Languages

Language:Shell 100.0%