* Greg Freemyer <greg.freemyer@gmail.com> [2016-12-06 22:13]:
I should know this, but ..
I'm moving hundreds of thousands of files from USB drives to a new destination drive.
I've used rsync to make a copy of the files which is great.
But I need to ensure all the files are exact copies. I don't think rsync has a "hash destination and report disagreements with source" feature.
Is there a tool for doing that?
fyi: I have a windows cmd line tool for doing this, but I'd rather work in linux.
I've used something like the following: $ rsync -n -cv [other rsync args...] do to the comparison. The "-c" flag directs rsync to use a 128-bit checksum to compare the files. Of course, "-n" inhibits any actual copying. I also generally use the "--log-file=<log-file>" arg to direct the output in to a file instead of the terminal. Using the "-c" arg can be rather slow, but more certain than relying on file size and mtime only. Hope this helps!
Thanks Greg
--Phil -- Philip Amadeo Saeli psaeli@zorodyne.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org