package shell import ( "context" "fmt" "io" "os" "time" "github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) func init() { commands = append(commands, &commandFsMetaSave{}) } type commandFsMetaSave struct { } func (c *commandFsMetaSave) Name() string { return "fs.meta.save" } func (c *commandFsMetaSave) Help() string { return `save all directory and file meta data to a local file for metadata backup. fs.meta.save / # save from the root fs.meta.save /path/to/save # save from the directory /path/to/save fs.meta.save . # save from current directory fs.meta.save # save from current directory The meta data will be saved into a local --