1
mirror of https://github.com/rclone/rclone synced 2024-09-20 18:16:22 +02:00
rclone/backend/dropbox
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
..
dbhash Move all backends into backend directory 2018-01-12 17:07:38 +00:00
dropbox_test.go fs: add ChangeNotify and backend support for it (#2094) 2018-03-08 22:03:34 +02:00
dropbox_unsupported.go dropbox: Only support on go1.7+ 2018-01-16 17:05:02 +00:00
dropbox.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