I sometimes have to copy/sync large amounts of data in a directory structure from one computer to another. Typical programs I use for this purpose are rsync, syncthing, or seafile.
To not exclusively rely on the correctness of the copy/sync program (or the options chosen by me), I usually generate a checksum file (using cfv
) in the parent directory and copy/sync it with the data, so I can later check everything is OK on the destination computer. For example, cfv
works well to see whether all the files from the origin have safely arrived.
However, an option I miss is to see whether there are any files in the copy which weren't in the original. As far as I can tell, cfv
does not have an option to look for such "additional" files. The solution I resort to is to create a new checksum file for the copy and compare it to the original, but that means checksums for every file have to be computed four times (generating & checking, on both computers).
Is there a better solution?