Skip to content

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.

Update filer_copy.go

Kenny9cc6575ab51a
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 2295faa8ad..f2b1e963ee 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -219,7 +219,7 @@ func genFileCopyTask(fileOrDir string, destPath string, fileCopyTaskChan chan Fi
fileCopyTaskChan <- FileCopyTask{
sourceLocation: fileOrDir,
- destinationUrlPath: destPath+fi.Name(),
+ destinationUrlPath: destPath,//+fi.Name(),
fileSize: fi.Size(),
fileMode: fi.Mode(),
uid: uid,