Re: Recursive diff?
- From: Todd Zullinger <tmz@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 14:35:03 -0500
Ashley M. Kirchner wrote:
What's the best way to run diff against two folders, comparing every
single file in each one?
Well, "best way" is very subjective. :)
I think you'll find "diff -uNr /path1 /path2" will work reasonably
well.
You can omit the -N and diff won't show you the full file contents for
files in one path but not in the other (you'll just see a line like
"file foo not in bar").
You may also want to use some of the options to suppress whitespace
differences from being displayed (-wbB is a common combination).
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Procrastination is the art of keeping up with yesterday.
-- Don Marquis
Attachment:
pgp6EL8Pbx1L9.pgp
Description: PGP signature
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Recursive diff?
- From: Ashley M. Kirchner
- Recursive diff?
- Prev by Date: Re: Fedora and Ubuntu
- Next by Date: Re: Recursive diff?
- Previous by thread: Re: Recursive diff?
- Next by thread: Re: Recursive diff?
- Index(es):