1
mirror of https://github.com/rclone/rclone synced 2024-12-01 10:31:57 +01:00
rclone/fs/operations
Nick Craig-Wood 530ba66d35 operations: fix -u/--update with google photos / files of unknown size
Before this change if -u/--update was in effect we compared the size
of the files to see if the transfer should go ahead.  This was
comparing -1 with an actual size so the transfer always proceeded.

After this change we use the existing `sizeDiffers` function which
does the correct comparison with -1 for files of unknown length.

See: https://forum.rclone.org/t/sync-with-google-photos-to-local-drive-will-result-in-recoping/11605
2019-09-04 17:31:17 +01:00
..
dedupe_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
dedupe.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
listdirsorted_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsjson.go fs: Implement UnWrapObject and UnWrapFs 2019-08-14 15:07:38 +01:00
multithread_test.go operations: disable multi thread copy for local to local copies #3419 2019-08-14 15:07:38 +01:00
multithread.go operations: disable multi thread copy for local to local copies #3419 2019-08-14 15:07:38 +01:00
operations_internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
operations_test.go copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
operations.go operations: fix -u/--update with google photos / files of unknown size 2019-09-04 17:31:17 +01:00
rc_test.go copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
rc.go copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
reopen_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
reopen.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00