rclone/fs/operations
Nick Craig-Wood dfd0f4c5a4 sync: when using --backup-dir don't delete files if we can't set their modtime
This is a problem when syncing a file which just needed its modtime
set with dropbox which can't set the mod time of a file without
re-uploading it.

Before this change we would delete the file, then the server side move
would fail moving the file to the backup-dir because it no longer
existed.

After this change the destination file is moved to the backup-dir
instead of being deleted and the new file is uploaded.

Fixes #2134
2018-03-13 16:05:06 +00:00
..
listdirsorted_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
operations.go sync: when using --backup-dir don't delete files if we can't set their modtime 2018-03-13 16:05:06 +00:00
operations_internal_test.go operations: ignore size of objects when they are < 0 #320 2018-01-31 16:22:05 +00:00
operations_test.go config/hash: rename more symbols after factoring into own package 2018-01-18 20:27:52 +00:00