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

oss-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oss-client

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Aliyun oss client for Fluent-plugin-oss

Install

gem install oss-client

Usage

Basic

Set oss account by arguments.

oss-client --endpoint xxx --access_key_id xxx --access_key_secret xxx --bucket xxx oss-client command

You can also use enviroment variables.

ENDPOINT=xxx ACCESS_KEY_ID=xxx ACCESS_KEY_SECRET=xxx BUCKET=xxx oss-client command

List

Get objects list from oss with a specific prefix.

oss-client list -p xxx #The prefix argument works in all commands

Summary

Get objects count in all vitual directories.

oss-client summary

Specify the delimiter(default: '/').

oss-client summary -d -

Count sub-directories.

oss-client summary --max-depth=2

Delete

Remove objects in oss.

oss-client delete

Then type 'Y' to confirm.

Download

Use download-dir argument to specify the download directory(default: current dir).

oss-client download

If there is an object named 'a/b/c.jpg', directories 'a' and 'b' will be create recursively.

FAQs

Package last updated on 02 Aug 2017

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