diff -r ignore symbolic links

Ben Elliston bje at redhat.com
Fri Feb 14 13:45:31 EST 2003


>>>>> "Kim" == Kim Holburn <kim.holburn=FCV4sgi5zeUQrrorzV6ljw at public.gmane.org> writes:

  Kim> I need to diff 2 directories but I want diff not to follow
  Kim> symbolic links.  How would I do that?

Bad news, I'm afraid.  Read the Info page for diff and, in particular,
the node "Special Files" under the node "Shortcomings".  ;-(

Perhaps you'd be better off generating a file list using find(1) and
then piping that to xargs.

Ben



More information about the linux mailing list