On Fri, 2023-06-02 at 20:28 -0600, home user wrote:
I looked around for another way to check the sticks. I thought if I put something huge on the stick, and then use diff, that would do the job. My /home is over 22 GB. So if I re-format the stick, copy /home to the stick, and do a "diff -r", that would test much of the stick. But diff can't compare contents of binary files. So I looked at cmp.
As a brute force and ignorance approach, you could copy some very large files (such as an ISO) several times to the thing, compare them against the original file.