mirror of
https://github.com/rclone/rclone.git
synced 2024-11-08 01:25:14 +01:00
Ignore --delete-before with --track-renames
This commit is contained in:
parent
86bec20b56
commit
bcdd73369f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user