Am Tue, Apr 12, 2022 at 06:09:13PM +0000 schrieb Laurence Perkins: > > I actually developed a tool for that. It creates and checks md5 > > checksums recursively and *per directory*. Whenever I copy stuff from > > somewhere, like a music album, I do an immediate md5 run on that > > directory. And when I later copy that stuff around, I simply run the > > tool again on the copy (after the FS cache was flushed, for example by > > unmounting and remounting) to see whether the checksums are still valid. > > > There's also app-crypt/md5deep > > Does a number of hashes, is threaded, has options for piecewise hashing and a > matching mode for using the hashes to find duplicates. Also a number of > input and output filters for those cases where you don't want to hash > everything.
I knew about md5deep when I started with my own tool (as can be read in the readme ;-) ). But md5deep used one single md5 file at a tree’s root, whereas I wanted one file per directory in a tree. The reason being that I wanted to be able to copy individual directories and still check their hashes without editing checksum files. -- Grüße | Greetings | Salut | Qapla’ Please do not share anything from, with or about me on any social network. If you were born feet-first, then, for a short moment, you wore your mother as a hat.
signature.asc
Description: PGP signature

