From adfc4041dbae108c72be39c2e2fad75f886331d3 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 8 Apr 2020 23:34:48 -0700 Subject: [PATCH] update shell commands --- weed-shell.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/weed-shell.md b/weed-shell.md index 541f551..3bd6cce 100644 --- a/weed-shell.md +++ b/weed-shell.md @@ -4,6 +4,9 @@ $ weed shell > help Type: "help " for help on + 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.list # list all collections ec.balance # balance all ec shards among all racks and volume servers @@ -11,7 +14,7 @@ Type: "help " for help on ec.encode # apply erasure coding to a volume ec.rebuild # find and rebuild missing ec shards among volume servers fs.cat # stream the file content on to the screen - fs.cd # change directory to http://:/dir/ + fs.cd # change directory to a directory /path/to/dir fs.du # show disk usage fs.ls # list all files under a directory fs.meta.cat # print out the meta data content for a file or directory @@ -22,9 +25,11 @@ Type: "help " for help on fs.pwd # print out current directory fs.tree # recursively list all files under a directory 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.delete # delete a live volume from one volume server 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.mount # mount a volume from one volume server volume.move # move a live volume from one volume server to another volume server