User Tools

Site Tools


tips:linux:applypatch

How to make and apply a patch?

To make a patch:

diff -urN file.old file.new > file.patch

You may need to modify the first line of the patch to match the actual file name.

To apply a patch:

patch -b < file.patch

For more information see this article.

tips/linux/applypatch.txt · Last modified: 2009/06/08 08:38 by erik