[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: How to use xdelta? -- Don't Bother!
by howto-waste your time on Wednesday 08/Dec/2004, @11:55
bash-2.05b$ xdelta
bash: xdelta: command not found
...

bash-2.05b$ xdelta3 --help
VERSION=3_PRERFC_0
usage: xdelta3 [command/options] [input [output]]
commands are:
encode encodes the input
decode decodes the input
config prints xdelta3 configuration
test run the builtin tests
special commands for VCDIFF inputs:
printhdr print information about the first window
printhdrs print information about all windows
printdelta print information about the entire delta
options are:
-c use stdout instead of default
-d same as decode command
-e same as encode command
-f force overwrite
-n disable checksum (encode/decode)
-D disable external decompression (encode/decode)
-R disable external recompression (decode)
-N disable small string-matching compression
-S [djw|fgk] disable/enable secondary compression
-A [apphead] disable/provide application header
-s source source file to copy from (if any)
-B blksize source file block size
-W winsize input window buffer size
-v be verbose (max 2)
-q be quiet
-h show help
-V show version
-P repeat count (for profiling)

....

bash-2.05b$ xdelta3 -d kdelibs-3.3.1-3.3.2.tar.xdelta
xdelta3: not a VCDIFF input: Invalid argument

....
bash-2.05b$ xdelta3 -d -s kdelibs-3.3.1-3.3.2.tar.xdelta
[silence]
^C
...
bash-2.05b$ xdelta3 -d <kdelibs-3.3.1-3.3.2.tar.xdelta
xdelta3: not a VCDIFF input: Invalid argument
...
bash-2.05b$ rm kdelibs-3.3.1-3.3.2.tar.xdelta
  Related Links
 ·   Articles on KDE Official News
 ·   Also by howto-waste your time
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: How to use xdelta? -- Don't Bother!
by Anonymous on Wednesday 08/Dec/2004, @12:19
> bash: xdelta: command not found

How about installing it then? :-)

> bash-2.05b$ xdelta3 --help

xdelta3 is incompatible to xdelta2 is incompatible to xdelta.

> bash-2.05b$ rm kdelibs-3.3.1-3.3.2.tar.xdelta

Thanks for proving your dumbness.
[ Reply To This | View ]
  • Re: How to use xdelta? -- Don't Bother!
    by Joshua Rodman on Friday 04/Feb/2005, @06:13
    In all fairness, xdelta is a bit tricky to use. I've been wrestling with it for the last few hours trying to figure out exactly what sorts of things 'encode' and 'decode' are supposed to work well on. The only case where it beats the size of gzip is when I cat a file A to file B eight times, and inflate the input window to 100times the normal size.

    In this case clearly it was a diff meant to be applied to the tar file, but bafflingly, that's not the default mode for xdelta3.

    Further the incompatabilities bewteen xdelta 1 2 and 3 are kind of confusing, since one is self contained, one is a library, and one is a front end, and the docs are thin on the ground.
    [ Reply To This | View ]
    • Re: How to use xdelta? -- Don't Bother!
      by Josh MacDonald on Thursday 28/Sep/2006, @01:27
      I promise xdelta3 will support xdelta1 inputs, one day soon. I tried to make the command-line syntax of xdelta3 as close to gzip/bzip2 as I could, which meant breaking compatibility with previous versions. xdelta2 was never finished, and it was a storage system, not an application or a library&mdash;as you say.
      [ Reply To This | View ]
      • Re: How to use xdelta? -- Don't Bother!
        by Aaron Peterson on Sunday 23/Mar/2008, @22:34
        So.. how do I use it?

        aaron@Speck /cygdrive/c/ZZ_ISO
        $ ./xdelta3.0t.x86-32.exe -d KDE-Four-Live.i686-1.0.1-1.0.2.iso.xdelta KDE-Four
        -Live.i686-1.0.1.iso
        xdelta3: not a VCDIFF input: XD3_INVALID_INPUT
        [ Reply To This | View ]
        • Re: How to use xdelta? -- Don't Bother!
          by Anonymous on Monday 24/Mar/2008, @02:53
          As said earlier, xdelta3 is incompatible to xdelta1 diffs.
          [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "Soon the whole Caldera office will be busy playing KPat, not answering any mails or phone calls anymore." -- Simon Hausmann
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]