Re: Comparing directories recursively

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



> Am 27.10.2017 um 23:27 schrieb H <agents@xxxxxxxxxxxxxx>:
> 
> What is the best tool to compare file hashes in two different drives/directories such as after copying a large number of files from one drive to another? I used cp -au to copy directories, not rsync, since it is between local disks.
> 
> I found a mention of hashdeep on the 'net which means first running it against the first directory generating a file with checksums and then running it a second time against the second directory using this checksum file. Hashdeep, however, is not in the CentOS repository and, according to the 'net, is possibly no longer maintained.\
> 
> I also found md5deep which seems similar.
> 
> Are there other tools for this automatic compare where I am really looking for a list of files that exist in only one place or where checksums do not match?

source:

find . -type f -exec md5sum \{\} \; > checksum.list

destination:

md5sum -c checksum.list

--
LF

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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