Jump to content

making a PATCH-file


Recommended Posts

I VeXP-VIAXine-2.1 currently at home, and I want VeXP-VIAXine-3 (10MB), but I have 56k internet.

Here at work, I have fast internet, so I downloaded both, and using cygwin, I want to do a patch. Is that the good command?

 

diff -drbBENU 3 VeXP-VIAXine-2.1 VeXP-VIAXine-3 >viaexp-2.1-3.0.diff

 

Then of course, I bzip2 it, and obtain a 666KB file. Nice :)

Yves.

Link to comment
Share on other sites

  • 2 weeks later...

Heya, I'm a beginner at this and I don't know if this still maters, but I mostly do:

 

diff -ur old-dir new-dir > patchfile

(no "./" in the beginning of the directories)

 

and to patch .. go into your <old-dir> and do

 

patch -p1 < patchfile

 

Hopes this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...