Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Don't Mkdir at the start of sync - fixes #1131

Nick Craig-Woodf88300a153a6
diff --git a/fs/sync.go b/fs/sync.go
index 6ad784138..95c972cc9 100644
--- a/fs/sync.go
+++ b/fs/sync.go
@@ -655,12 +655,6 @@ func (s *syncCopyMove) run() error {
return nil
}
- // Make the destination directory
- err := Mkdir(s.fdst, s.dir)
- if err != nil {
- return err
- }
-
// Start background checking and transferring pipeline
s.startCheckers()
s.startRenamers()