Rsync parity: update/inplace/append transfer modes #127
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 bytes