Checksum – Check

If you want to compare to folder, which are not based on the same system you can create to text files with an command and the compare them.

Linux systems use md5sum:

find . -type f -exec md5sum {} ';' >source_md5.txt
find . -type f -exec md5sum {} ';' >target_md5.txt

Mac systems use md5:

find . -type f -exec md5 {} ';' >source_md5.txt
find . -type f -exec md5 {} ';' >target_md5.txt

Then you can compare this files using following command.

diff <(sort source_md5.txt) <(sort target_md5.txt)

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Time limit is exhausted. Please reload the CAPTCHA.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.