diff --git a/fs/sync.go b/fs/sync.go index 8da107e3b..24c19e463 100644 --- a/fs/sync.go +++ b/fs/sync.go @@ -83,6 +83,10 @@ func newSyncCopyMove(fdst, fsrc Fs, Delete bool, DoMove bool) (*syncCopyMove, er s.trackRenames = false } } + if s.deleteBefore && s.trackRenames { + ErrorLog(fdst, "Ignoring --delete-before with --track-renames - using --delete-after") + s.deleteBefore = false + } if s.noTraverse && s.trackRenames { Debug(s.fdst, "Ignoring --no-traverse with --track-renames") s.noTraverse = false