Re: Recursive diff?



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