Re: compare directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Oct 23, 2008 at 10:15 AM, Bill Campbell <centos@xxxxxxxxxxxxx> wrote:
>
> A somewhat cleaner way of doing this is to use the ``comm''
> command as it generates a straight list as opposed to diff which
> requires parsing the output.
>

But comm also "requires" that the data be sorted.  Otherwise you can
get spurious output because lines that are actually the same but do
not appear in order will show up as differences.

I'd go with the rsync solutions already posted, but that's just me.

mhr
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux