update shell commands

Chris Lu 2020-04-08 23:34:48 -07:00
parent fe1ceeb373
commit adfc4041db

@ -4,6 +4,9 @@
$ weed shell $ weed shell
> help > help
Type: "help <command>" for help on <command> Type: "help <command>" for help on <command>
bucket.create # create a bucket with a given name
bucket.delete # delete a bucket by a given name
bucket.list # list all buckets
collection.delete # delete specified collection collection.delete # delete specified collection
collection.list # list all collections collection.list # list all collections
ec.balance # balance all ec shards among all racks and volume servers ec.balance # balance all ec shards among all racks and volume servers
@ -11,7 +14,7 @@ Type: "help <command>" for help on <command>
ec.encode # apply erasure coding to a volume ec.encode # apply erasure coding to a volume
ec.rebuild # find and rebuild missing ec shards among volume servers ec.rebuild # find and rebuild missing ec shards among volume servers
fs.cat # stream the file content on to the screen fs.cat # stream the file content on to the screen
fs.cd # change directory to http://<filer_server>:<port>/dir/ fs.cd # change directory to a directory /path/to/dir
fs.du # show disk usage fs.du # show disk usage
fs.ls # list all files under a directory fs.ls # list all files under a directory
fs.meta.cat # print out the meta data content for a file or directory fs.meta.cat # print out the meta data content for a file or directory
@ -22,9 +25,11 @@ Type: "help <command>" for help on <command>
fs.pwd # print out current directory fs.pwd # print out current directory
fs.tree # recursively list all files under a directory fs.tree # recursively list all files under a directory
volume.balance # balance all volumes among volume servers volume.balance # balance all volumes among volume servers
volume.configure.replication # change volume replication value
volume.copy # copy a volume from one volume server to another volume server volume.copy # copy a volume from one volume server to another volume server
volume.delete # delete a live volume from one volume server volume.delete # delete a live volume from one volume server
volume.fix.replication # add replicas to volumes that are missing replicas volume.fix.replication # add replicas to volumes that are missing replicas
volume.fsck # check all volumes to find entries not used by the filer
volume.list # list all volumes volume.list # list all volumes
volume.mount # mount a volume from one volume server volume.mount # mount a volume from one volume server
volume.move # move a live volume from one volume server to another volume server volume.move # move a live volume from one volume server to another volume server