SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
options to control filer.export verbosity
Chris Luc9b3ef58dea1
diff --git a/weed/command/filer_export.go b/weed/command/filer_export.goindex 8a709ed1f2..14465d61b2 100644--- a/weed/command/filer_export.go+++ b/weed/command/filer_export.go@@ -37,6 +37,7 @@ var (dir = cmdFilerExport.Flag.String("dir", "/", "only process files under this directory")dirListLimit = cmdFilerExport.Flag.Int("dirListLimit", 100000, "limit directory list size")dryRun = cmdFilerExport.Flag.Bool("dryRun", false, "not actually moving data")+ verboseFilerExport = cmdFilerExport.Flag.Bool("v", false, "verbose entry details"))type statistics struct {@@ -170,14 +171,16 @@ func printout(level int, entry *filer2.Entry) error {}}print(entry.FullPath.Name())- for _, chunk:=range entry.Chunks{- print("[")- print(chunk.FileId)- print(",")- print(chunk.Offset)- print(",")- print(chunk.Size)- print(")")+ if *verboseFilerExport{+ for _, chunk := range entry.Chunks {+ print("[")+ print(chunk.FileId)+ print(",")+ print(chunk.Offset)+ print(",")+ print(chunk.Size)+ print(")")+ }}println()return nil