Re: Compare lots of files

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

 



On Fri, 14 Jul 2006, Frank Cox wrote:

> I just got a new fileserver  and have copied the files off of my old fileserver
> onto this shiny new one.
> 
> Before I take my old filesever offline, I would like to compare the files on
> both machines to insure that nothing got corrupted during the copy process.
> 
> 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.

diff -r --brief directory1 directory2

-- 
Benjamin Franz

"It is moronic to predict without first establishing an error rate
 for a prediction and keeping track of one’s past record of accuracy."
                    -- Nassim Nicholas Taleb, Fooled By Randomness

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

  Powered by Linux