Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    What does "signature" and "delta" mean for rdiff? The man page doesn't say. Commented Sep 12, 2016 at 12:54
  • 1
    To answer my own question, creating a delta with rdiff is a two step process. First create a signature file from the old file, then use the signature and new file to create the delta. They can be run together with rdiff signature oldfile | rdiff delta - newfile deltafile Commented Sep 13, 2016 at 9:10
  • 1
    @TorKlingberg Could you post a new answer with a example? Let's say file1 and file2 are two similar files of 1GB each. 1) How to compute the diff? 2) How to save this diff into a patch file? 3) How to apply this patch file to file1 to recover file2?
    – Basj
    Commented Feb 3, 2020 at 20:55