"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
sync: Fix incorrect "nothing to transfer" message using --delete-before
Nick Craig-Woodad9c7ff7ed64
diff --git a/fs/sync/sync.go b/fs/sync/sync.goindex aa1cceac8..51fadd850 100644--- a/fs/sync/sync.go+++ b/fs/sync/sync.go@@ -844,7 +844,7 @@ func (s *syncCopyMove) run() error {// Read the error out of the context if there is ones.processError(s.ctx.Err())- if accounting.Stats(s.ctx).GetTransfers() == 0 {+ if s.deleteMode != fs.DeleteModeOnly && accounting.Stats(s.ctx).GetTransfers() == 0 {fs.Infof(nil, "There was nothing to transfer")}