Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
baidubce-cli
Advanced tools
Baidu Cloud Engine Node.js Command Line Tools.
Currently support operations on BS, BOS, Media service.
npm i -g baidubce-cli
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
baidubce bos --create-buckets my-bucket-1 my-bucket-2
baidubce bos --list-buckets
# 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
baidubce bos --put-superfile cute-kitty.avi bos://my-bucket-1/
[=== ] 27%
Btw, upload a large file you'll get a progress bar notification.
For first time, you should config the ak
, sk
and endpoint
.
baidubce bs -c bs.ak my_ak
baidubce bs -c bs.sk my_sk
baidubce bs -c bs.endpoint https://bs.baidu.com
Btw, you can also set specific bucket
to a different endpoint
which will override the default configuration.
baidubce bs -c bs.my-bucket-1.ak my_ak
baidubce bs -c bs.my-bucket-1.sk my_sk
baidubce bs -c bs.my-bucket-1.endpoint http://10.26.208.32:8998
baidubce bs --create-buckets my-bucket-1 my-bucket-2
baidubce bs --list-buckets
baidubce bs --list-objects my-bucket-1
baidubce bs --list-objects my-bucket-1 --start=10 --limit=20
# Upload hello.js to my-bucket-1 and rename to world.js
baidubce bs --put-object hello.js bs://my-bucket-1/world.js
# Upload hello.js to my-bucket-1 and keep the same file name.
baidubce bs --put-object hello.js bs://my-bucket-1/
baidubce bs --put-object hello.js bs://my-bucket-1
Unimplemented.
For first time, you should config the ak
, sk
and endpoint
.
baidubce media -c media.ak my_ak
baidubce media -c media.sk my_sk
# Optional
# baidubce media -c media.endpoint http://10.105.97.15
# baidubce media -c media.region my_region
baidubce bos --create-buckets media-test-in media-test-out
baidubce bos --put-object a.mov bos://media-test-in/a.mov
Or
baidubce bos --put-superfile a.mov bos://media-test-in/a.mov
[=== ] 27%
baidubce media --create-pipeline \
--pn leeight_test \
--pc '{"capacity": 1}' \
--sb media-test-in \
--tb media-test-out
baidubce media --create-job --pn leeight_test --rn bce_video_mp4_854x480_800kbps --sk a.mov --tk b.mov
baidubce media --get-all-jobs --pn leeight_test
More usages please refer baidubce bos -h
or baidubce media -h
. Feedback is welcome, feel free to send me an email for any question.
FAQs
baidu cloud engine command line tools
We found that baidubce-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.