"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: Only print "There was nothing to transfer" if no errors
Nick Craig-Wood963c0f28b9ec
diff --git a/fs/sync/sync.go b/fs/sync/sync.goindex b37d0d2cc..eab41e775 100644--- a/fs/sync/sync.go+++ b/fs/sync/sync.go@@ -893,7 +893,8 @@ func (s *syncCopyMove) run() error {// Read the error out of the context if there is ones.processError(s.ctx.Err())- if s.deleteMode != fs.DeleteModeOnly && accounting.Stats(s.ctx).GetTransfers() == 0 {+ // Print nothing to transfer message if there were no transfers and no errors+ if s.deleteMode != fs.DeleteModeOnly && accounting.Stats(s.ctx).GetTransfers() == 0 && s.currentError() == nil {fs.Infof(nil, "There was nothing to transfer")}