FastSync currently always overwrites destination files. Rsync provides several alternative transfer modes that FastSync should support:
-u, --update
--inplace
--append
--append-verify
-I, --ignore-times
--size-only
--checksum, -c
--modify-window
--existing
--ignore-existing
file.c:209-246
file.c:467-503
client_cli.c:85-244
--incremental
--update
--checksum
Closing as duplicate of #127 (update/inplace/append modes)
No dependencies set.
The note is not visible to the blocked user.
FastSync currently always overwrites destination files. Rsync provides several alternative transfer modes that FastSync should support:
Missing flags
-u, --update— skip files that are newer on the receiver--inplace— update destination files in-place--append— append data onto shorter files--append-verify— append with verification-I, --ignore-times— don't skip files matching size+mtime--size-only— skip files matching size only--checksum, -c— skip based on checksum (finding 5)--modify-window— mtime tolerance (finding 27)--existing— skip new files on receiver (finding 3)--ignore-existing— skip existing files (finding 3)Current code
file.c:209-246— always overwrites, no inplace/appendfile.c:467-503— size+mtime comparison onlyclient_cli.c:85-244— only--incrementalflagImpact
--append: incremental log file syncing--update: live filesystem sync where receiver may be newer--inplace: large file patching without full rewrite--checksum: content-verified syncsImplementation notes
--inplace: write to original file offset vs temp+rename--update: server-side check in receive_incremental_check--append: protocol changes to send only trailing bytesClosing as duplicate of #127 (update/inplace/append modes)