"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: don't warn about --no-traverse when --files-from is set
Nick Gaya9db7c51eaaf5
diff --git a/fs/sync/sync.go b/fs/sync/sync.goindex e8ce10ad1..a97231424 100644--- a/fs/sync/sync.go+++ b/fs/sync/sync.go@@ -155,7 +155,9 @@ func newSyncCopyMove(ctx context.Context, fdst, fsrc fs.Fs, deleteMode fs.Delete// Input context - cancel this for graceful stops.inCtx, s.inCancel = context.WithCancel(s.ctx)if s.noTraverse && s.deleteMode != fs.DeleteModeOff {- fs.Errorf(nil, "Ignoring --no-traverse with sync")+ if !fi.HaveFilesFrom() {+ fs.Errorf(nil, "Ignoring --no-traverse with sync")+ }s.noTraverse = false}s.trackRenamesStrategy, err = parseTrackRenamesStrategy(ci.TrackRenamesStrategy)