GithubHelp home page GithubHelp logo

romantomjak / b2 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 158 KB

Backblaze B2 Cloud Storage Command Line Client

License: MIT License

Makefile 1.39% Go 98.61%
backblaze backblaze-b2 b2 b2-client file-upload file-download go cloud-storage cli

b2's Introduction

b2 Build Status Coverage Status GoDoc

Backblaze B2 Cloud Storage Command Line Client


Status

This project is in development phase. You can try it with latest release version. I highly recommend you to use b2 with go modules to get the latest changes.

Installation

Download and install using go get:

go get -u github.com/romantomjak/b2

or grab a binary from releases section!

Usage

$ export B2_KEY_ID=1234
$ export B2_KEY_SECRET=MYSECRET
$ b2 create my-globally-unique-bucket-name
Bucket "my-globally-unique-bucket-name" created with ID "123b2bucketid8"

CLI example

$ b2 
Usage: b2 [--version] [--help] <command> [<args>]

Available commands are:
    create     Create a new bucket
    get        Download files
    list       List files and buckets
    put        Upload files
    version    Prints the client version

Progress

My initial goal is to be able to navigate B2 buckets, list files in them and, of course, to upload and download files. All the other features, performance optimizations and nice to haves will come after.

This is how far I've gotten:

  • Create a new bucket
  • Delete bucket
  • List all buckets
  • Update settings for a bucket
  • List files in a bucket
  • Upload small files (<100 MB)
  • Upload large files
  • Download a file

Contributing

You can contribute in many ways and not just by changing the code! If you have any ideas, just open an issue and tell me what you think.

Contributing code-wise - please fork the repository and submit a pull request.

License

MIT

b2's People

Contributors

romantomjak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.