Browse Source
Update filer_copy.go
修改 weed filer.copy 上传目录时文件名变子目录的问题
pull/1584/head^2
Kenny
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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, |
|
|
|