31,028
edits
| Line 230: | Line 230: | ||
To build the patch file, you must launch the '''diff''' command (available on all Linux, provided with [http://www.cygwin.org/cygwin cygwin] under Windows) with the following command: | To build the patch file, you must launch the '''diff''' command (available on all Linux, provided with [http://www.cygwin.org/cygwin cygwin] under Windows) with the following command: | ||
<source lang="bash"> | <source lang="bash"> | ||
diff - | diff -BNaur --exclude=CVS --exclude="*.patch" --exclude=".#*" --exclude="*~" --exclude="*.rej" | ||
--exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents | --exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents | ||
old_dir new_dir > mypatch.patch | old_dir new_dir > mypatch.patch | ||