"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: log an error that --track-renames doesn't work with sync or move
Nick Craig-Wood5bf639048fd2
diff --git a/fs/sync/sync.go b/fs/sync/sync.goindex 2409c69f8..dee90525c 100644--- a/fs/sync/sync.go+++ b/fs/sync/sync.go@@ -91,6 +91,10 @@ func newSyncCopyMove(fdst, fsrc fs.Fs, deleteMode fs.DeleteMode, DoMove bool, defs.Errorf(fdst, "Ignoring --track-renames as the source and destination do not have a common hash")s.trackRenames = false}+ if s.deleteMode == fs.DeleteModeOff {+ fs.Errorf(fdst, "Ignoring --track-renames as it doesn't work with copy or move, only sync")+ s.trackRenames = false+ }}if s.trackRenames {// track renames needs delete after