Re: [Newbie] Question using diff on a directory

From: The Fungi (
Date: 03/23/03

On Sun, Mar 23, 2003 at 10:28:51PM -0800, Chris Ward wrote:
> so that all the files I've edited will go into the diff patch can anyone
> tell me how to do this, or how anyone gets a patch created that works on
> multiple files.

With GNU's diff and patch utilities, the various options are clearly
spelled out in the man pages. I typically use:

   diff -BNpru foo bar | gzip -9 > baz.patch.gz

...where "foo" and "bar" are subdirectories in the present working
directory. Hope that helps!
{ IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657);
SMTP(; IRC(; ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(;
MUD(; WWW(; }

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/26/03 PDT