Written by
akendo
on
1 minutes reading
1 minutes reading
Useful find cmd
This command allows me to get the md5sum
of all files inside of a folder. I did run it on two system with almost the same
content inside some folder.
On Host A: root@A: find . -type f 2>/dev/null -exec md5sum {} ; >listA.
On Host B:
root@B: find . -type f 2>/dev/null -exec md5sum {} \; >listB.txt
I get it on my localsystem via scp
. Then I run a diff
between the both to see where are the differences. the -y
makes it look more clear.
diff -y listA.txt listB.txt
so far
4k3nd0