CEPH command line interface
Help you easily managing your CEPH storage.
# 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.
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.
- Run
ceph
to print main manual page. - Run
ceph <subset-name>
to print manual page for sub command set.