This is a guide for using xdelta3 under the Ubuntu operating system ...
I haven't seen any around at all sooo ~
You have two files - patch.xdelta3 and old.file
You have them in /home/user/folder/
You want that old.file changed into a shiny new.file
You want it now.
Install it :
Open good ole' Synaptic Package manager and search for xdelta.
Some stuff will come up, and check install on xdelta3, not plain xdelta.
Patch it :
Open up the terminal and run the stuff after the $ :
Rename that old.file into old4.file ...
Open up the terminal and run the stuff after the $ :
The resulting patched file - new.file - is located in /home/user/folder/
Error it :
xdelta is different than xdelta3, therefore the two don't play nice.
Putting an xdelta patch into xdelta3 will produce this error message :
~ Extra stuff ~
The encode function is what creates those patches :
Full a overly full list of commands, run the handy dandy in-program help :
I haven't seen any around at all sooo ~
You have two files - patch.xdelta3 and old.file
You have them in /home/user/folder/
You want that old.file changed into a shiny new.file
You want it now.
Install it :
Open good ole' Synaptic Package manager and search for xdelta.
Some stuff will come up, and check install on xdelta3, not plain xdelta.
Patch it :
Open up the terminal and run the stuff after the $ :
Code:
user@computer:~$ xdelta3 decode '/home/user/folder/patch.xdelta3'
ÂÂÂÂÂÂÂÂxdelta3: using default output filename: /home/user/folder/new.fileÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂxdelta3: using default source filename: /home/user/folder/old4.file
ÂÂÂÂÂÂÂÂxdelta3: file open failed: read: /home/user/folder/old4.file: No such file or directory
user@computer:~$
Open up the terminal and run the stuff after the $ :
Code:
user@computer:~$ xdelta3 decode '/home/user/folder/patch.xdelta3'
ÂÂÂÂxdelta3: using default output filename: /home/user/folder/new.fileÂÂÂÂÂÂÂÂ
ÂÂÂÂxdelta3: using default source filename: /home/user/folder/old4.file
user@computer:~$
Error it :
xdelta is different than xdelta3, therefore the two don't play nice.
Putting an xdelta patch into xdelta3 will produce this error message :
Code:
user@computer:~$ xdelta3 decodeÂÂxdelta3 decode '/home/user/folder/something.patch'
ÂÂÂÂxdelta3: not a VCDIFF input: XD3_INVALID_INPUT
user@computer:~$
~ Extra stuff ~
The encode function is what creates those patches :
This line of code here will take the files and generate the patch over at /home/user/folder/
When the patch is used on the old.file people have, xdelta3 will do some math and output the new.file
When the patch is used on the old.file people have, xdelta3 will do some math and output the new.file
Code:
user@computer:~$ xdelta3 -e -s '/home/user/folder/old.file' '/home/user/folder/new.file' '/home/user/folder/patch.xdelta3'
Full a overly full list of commands, run the handy dandy in-program help :
Code:
user@computer:~$ xdelta3 -h