Re: [Newbie] Question using diff on a directory

From: The Fungi (fungi@yuggoth.org)
Date: 03/23/03


On Sun, Mar 23, 2003 at 10:28:51PM -0800, Chris Ward wrote:
[snip]
> 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(fungi@yuggoth.org); IRC(fungi@irc.yuggoth.org#ccl); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi@yuggoth.org);
MUD(Nergel@srmud.net:2325); WWW(http://fungi.yuggoth.org/); }

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



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