Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

b2pipe

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b2pipe

A command-line tool that lets you stream large amounts of data into a b2 bucket.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

b2pipe

An easy way to stream an unknown amount of data into a file on b2 cloud.

options

Options:
  --help         Show help                                             [boolean]
  --version      Show version number                                   [boolean]
  --concurrency  max concurrent connections                        [default: 20]
  --path         path on b2 container                                 [required]
  --bucket       bucket on b2                                         [required]
  --type         content-type for the file being uploaded       [default: "raw"]
  --account      b2 account                                           [required]
  --key          b2 key                                               [required]
  --silent       will not output to stderr                      [default: false]
  --attempts     max upload attempts                               [default: 30]
  --chunk                                                     [default: 5000000]

example

Extremely simple example

echo "hello world" | b2pipe --account B2_ACCOUNT --key B2_KEY --bucket B2_BUCKET --path "helloworld.txt" --type "text/plain"

Of course you can do more complex things like the following

zfs send pool@latest | pigz | b2pipe --concurrency 20 --account B2_ACCOUNT --key B2_KEY --bucket B2_BUCKET --path "pool.gz"

Which would effectively stream+gzip, a ZFS pool to b2 cloud.

FAQs

Package last updated on 10 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc