Sign inSign up

mikehock/b2

By mikehock

Updated about 10 years ago

Dockerized CLI Client for Backblaze B2

Artifact
Image
0

1.3K

mikehock/b2 repository overview

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() {
  B2_ACCOUNT_ID="your-b2-account-id"
  B2_APPLICATION_KEY="your-b2-application-key"
  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!

Tag summary

Content type

Unrecognized

Digest

Size

252.6 MB

Last updated

about 10 years ago

docker pull mikehock/b2