Giter Site home page Giter Site logo

s3.sh's Introduction

About

s3.sh is a command line tool, written in Bash, based in aws/aws-cli, designed to easily manage a configure buckets in AWS S3 service. With it you can create, delete and list buckets, as well as configure them to be publicly accessed, and to define static websites.

Installing

The tool s3.sh was developed using the package builder pkg.sh, so that the install/uninstall processes follow their default steps:

  • clone this repository:
    git clone https://github.com/yxm-dev/s3.sh
  • enter in the install directory:
    cd s3.sh/install
  • execute the configure script with ./configure and enter the directory install_dir where you want to install s3.sh;
  • execute the install script with ./install. Dependencies will be automatically installed.
  • delete the s3.sh directory if you want:
    cd -
    rm -r s3.sh

To uninstall s3.sh, enter in the directory intall_dir/install and execute the uninstall script:

    cd install_dir/install
    ./uninstall

Alternatively, use the --uninstall option.

Dependencies

The fundamental dependency is aws/aws-cli, which in turn depends on Python 3.7.x.

Other minor dependencies that probably are already installed in your machine include:

Usage

   usage: s3.sh [options] [arguments] (general case)
   or: s3.sh                       (print this help message)

options:
    -c, --create                      create a bucket
    -d, --delete                      delete a bucket
    -l, --list                        list the existing buckets w/ their directories
        -b, --bucket                  list the existing buckets w/ their directories  
        -r, --region                  list the available regions
    -b, --bucket
        -d, --dir                     set the bucket directory
        -l, --list                    list the existing buckets w/ their directories
        -ps, --push                   push the bucket directory to AWS
        -pl, --pull                   pull the bucket from AWS to its directory
        -w, --website                 create a website directory for the bucket and
                                                                    [make it public
    -r, --region
        -l, --list                    list the available regions
        -t, --test                    test the regions and output that with smallest
                                                                            [latency
        -s, --set                     set the default region
    --set-region                      set the default region
    -h, --help                        display this help message
    -u, --uninstall                   uninstall s3.sh

License

This software is licensed under MIT license.

s3.sh's People

Contributors

ximenesyuri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.