Apex › Data & encoding

rsync — delta file sync

Sync a changed file to a remote copy by sending only the differences — without either side seeing the other's data first. The receiver sends block checksums of its old file; the sender rolls a window over the new file, matching whole blocks by a checksum it updates one byte at a time, and emits a delta of copy-references and literal runs. Because it searches at every offset, an insertion near the start doesn't ruin the rest — the window re-aligns. Edit the files and watch the delta.

More in Data & encoding