mirror of
https://github.com/rclone/rclone.git
synced 2025-08-14 07:49:00 +02:00
Implement --no-update-modtime flag - fixes #511
This commit is contained in:
@ -147,7 +147,7 @@ func Equal(src, dst Object) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if !Config.CheckSum {
|
||||
if !(Config.CheckSum || Config.NoUpdateModTime) {
|
||||
// Size and hash the same but mtime different so update the
|
||||
// mtime of the dst object here
|
||||
err := dst.SetModTime(srcModTime)
|
||||
|
Reference in New Issue
Block a user