rclone/lib
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
..
atexit lib/atexit: factor from cmd so it can be used by backend/cache #1946 2018-01-25 10:33:00 +00:00
dircache Move dircache, oauthutil, rest and pacer modules into lib 2018-01-12 17:07:38 +00:00
oauthutil lib/oauthutil: fix Google drive oauth process 2018-01-18 11:18:35 +00:00
pacer pacer: attempt to fix occasional "beginSleep didn't fire" test failures 2018-02-27 11:06:59 +00:00
readers fs: Adjust RangeOption.Decode to return -1 for read to end 2018-01-27 14:31:29 +00:00
rest sync: when using --backup-dir don't delete files if we can't set their modtime 2018-03-13 16:05:06 +00:00