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

baidubce-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baidubce-cli

baidu cloud engine command line tools

  • 0.0.5
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-90%
Maintainers
1
Weekly downloads
 
Created
Source

baidubce-cli

Baidu Cloud Engine Node.js Command Line Tools.

Currently only support operations on BOS service.

Install

npm i -g baidubce-cli

Configuration

For first time, you should config the ak, sk and endpoint.

baidubce bos -c bos.ak my_ak
baidubce bos -c bos.sk my_sk
baidubce bos -c bos.endpoint http://10.105.97.15

Btw, you can also set specific bucket to a different endpoint which will override the default configuration.

baidubce bos -c bos.my-bucket-1.ak my_ak
baidubce bos -c bos.my-bucket-1.sk my_sk
baidubce bos -c bos.my-bucket-1.endpoint http://10.26.208.32:8998

Usage

create a bucket

baidubce bos --create-buckets my-bucket-1 my-bucket-2

list all buckets

baidubce bos --list-buckets

upload a regular file

# Upload hello.js to my-bucket-1 and rename to world.js
baidubce bos --put-object hello.js bos://my-bucket-1/world.js

# Upload hello.js to my-bucket-1 and keep the same file name.
baidubce bos --put-object hello.js bos://my-bucket-1/
baidubce bos --put-object hello.js bos://my-bucket-1

upload a large file

baidubce bos --put-superfile cute-kitty.avi bos://my-bucket-1/

[===               ] 27%

Btw, upload a large file you'll get a progress bar notification.

Others

More usages please refer baidubce bos -h. Feedback is welcome, feel free to send me an email for any question.

Keywords

FAQs

Package last updated on 30 Dec 2014

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