"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
move: don't create directories with --dry-run - fixes #2676
Nick Craig-Woodc6786eeb2dbd
diff --git a/fs/sync/sync.go b/fs/sync/sync.goindex 6465abbf7..1c24fb2dc 100644--- a/fs/sync/sync.go+++ b/fs/sync/sync.go@@ -471,10 +471,9 @@ func copyEmptyDirectories(f fs.Fs, entries map[string]fs.DirEntry) error {for _, entry := range entries {dir, ok := entry.(fs.Directory)if ok {- err := f.Mkdir(dir.Remote())+ err := operations.Mkdir(f, dir.Remote())if err != nil {fs.Errorf(fs.LogDirName(f, dir.Remote()), "Failed to Mkdir: %v", err)- accounting.Stats.Error(err)} else {okCount++}