PuppyLinux : XdeltA

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
image XdeltaEs - image XdeltaFr - image XdeltaIt

Xdelta

Xdelta is a tool to compare different files; in addition it can create a delta file that contains just the differences between the files, and use a delta file to patch one file to turn it into another.

For example:
Annie got her new, updated Puppy by downloading just a 3MB xdelta patch, instead of another 100 MB iso.

Download


Instructions


To create a delta file with the differences between 2 ISO files
e.g. you are a developer/Puplet-creator who wants to create a patch
  • first put both files in the same folder
  • open a terminal/console (click on the Console icon on the desktop or go to Menu > Utility > rxvt terminal emulator)
  • type the following code into the console, adjusting the file names to match the names of the files you have/want,
    xdelta3 -e -s oldfile newfile oldisofiletonewisofile.delta

    and press enter. That's it; just wait 1 or 2 minutes and the delta file will be created in the folder.

  • So for our fictional upgrade by Barry for Annie, Barry would type:
    xdelta3 -e -s puppy-99.iso puppy-99.01.iso puppy-99_99.01.delta

    To upgrade an old ISO file with a delta file to make the new ISO file
    e.g. you are an end-user who downloaded a patch and wants to update an ISO file


    So for our fictional upgrade from Barry, Annie would type:
    xdelta3 -d -s puppy-99.iso puppy-99_99.01.delta puppy-99.01.iso

    Delta File Versions
    When a delta file is created by comparing 2 files, it can only be used to upgrade between those 2 specific files.
    For example:
    Charlie has puppy-98.2.iso. He downloads the puppy-99_99.01.delta file and tries to follow the above instructions, just like Annie; but his attempt fails. Charlie needs to either: A) just download the latest full ISO (puppy-99.01.iso) or B) see if Barry made a puppy98.2_99.01.iso and use that instead.

    See Also

    Puppy-related Xdelta Patches


    Puppy 3.xx

    PuppyNOP
    Wobbly NOP

    See Also


    CategoryApplicationPET

    There are no comments on this page. [Add comment]

    Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
    Page was generated in 0.1780 seconds