Skip to content

ctripcorp/nodejs.ceph-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ceph-cli

CEPH command line interface

Help you easily managing your CEPH storage.

Table of contents

Links

Get Started

# After installation, a global command "ceph" will be available.
npm install -g ceph-cli

# List available sub commands.
ceph 

# Show help info of sub command.
ceph help download

# Download object from CEPH storage and save into local file.
ceph upload --file foo.txt --name my/foo --connection conn.json

Here conn.json is a JSON formatted file which contains necessary connection configuration to a remote CEPH storage. See osapi README / OpenStack Swift Style for an example.

Sub Commands

The following sub commands or command-sets are avaiable under command ceph:

  • container
    To manage the containers.

    • clear
    • create
    • delete
    • list
  • delete
    To delete an object.

  • download
    To download an object to local file system.

  • info
    Display meta data of container or object.

  • list
    To list/find objects.

  • rename
    Rename an existing object.

  • upload
    To create an object with content in the specified file.

  1. Run ceph to print main manual page.
  2. Run ceph <subset-name> to print manual page for sub command set.

Recommendations

About

CEPH command line interface

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%