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
promptive error message
Chris Lu030dde227a9b
diff --git a/weed-fs/src/cmd/weed/export.go b/weed-fs/src/cmd/weed/export.goindex ae9f5f212f..27c353b28f 100644--- a/weed-fs/src/cmd/weed/export.go+++ b/weed-fs/src/cmd/weed/export.go@@ -40,6 +40,10 @@ func runExport(cmd *Command, args []string) bool {return false}+ if *dest!="" && !strings.HasSuffix(*dest, ".tar") {+ fmt.Println("the output file", *dest, "should ends with .tar")+ return false+ }var err errorif strings.HasSuffix(*dest, ".tar") {var fh *os.File