I just copied a few directories and files using SCP from a SSH remote server. How can I check if the files were copied exactly and there were no errors or no files were skipped?
Asked
Active
Viewed 1,895 times
0
1 Answers
2
You can use md5sum * > chksum.txt
on the source side, transfer the chksum.txt
file using scp
and then on the destination side do:
md5sum -c chksum.txt

Anthon
- 79,293
rsync
. If it sees no changes to bring over, nothing was missed or badly copied. – DopeGhoti Jul 24 '17 at 18:24