Public Repository

Last pushed: 2 years ago
Short Description
Dockerized CLI Client for Backblaze B2
Full Description

This is the Backblaze B2 client, dockerized. I hate installing python CLI tools natively, so this makes it "a bit" easier.

It involves a slight hack, though. Every time you use it, it will call the authorize_account API to get a new session token. This makes the calls take a bit longer, but if you're dockerizing it anyway you can't really complain about how long it takes to run :)

Include something like this in your ~/.bashrc to "install" it.

b2() {
  docker run --rm -e "B2_ACCOUNT_ID=$B2_ACCOUNT_ID" -e "B2_APPLICATION_KEY=$B2_APPLICATION_KEY" mikehock/b2 $*

And you should be off to the races!

Docker Pull Command