Re: Compare lots of files

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

 



On Fri, Jul 14, 2006 at 10:40:02AM -0600, Frank Cox wrote:
> Is there a command that I can use to do this in one shot?  I have been
> playing around with diff and the best I can do is to get it to give me a
> list of "common subdirectories", but it's not comparing the actual files.
> It took all night to copy the files so I'd think a real compare would take
> twice that long, and everything that I try with diff seems to run in a few
> seconds.

Try rsync -avcn. (The "n" will tell it to not actually do anything, just
print what it would have done.) And the -c makes it do a checksum of every
file.

-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux