copy/sync/move: add --create-empty-src-dirs flag - fixes #2869
This commit is contained in:
parent
2078ad68a5
commit
1b52f8d2a5
8 changed files with 149 additions and 77 deletions
|
@ -52,7 +52,7 @@ transfer.
|
|||
|
||||
cmd.Run(true, true, command, func() error {
|
||||
if srcFileName == "" {
|
||||
return sync.MoveDir(fdst, fsrc, false)
|
||||
return sync.MoveDir(fdst, fsrc, false, false)
|
||||
}
|
||||
return operations.MoveFile(fdst, fsrc, dstFileName, srcFileName)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue