Вы можете пройти md5sum
несколько имен файлов или расширений bash:
$ md5sum * > checklist.chk # generates a list of checksums for any file that matches *$ md5sum -c checklist.chk # runs through the list to check themcron: OKdatabase.sqlite3: OKfabfile.py: OKfabfile.pyc: OKmanage.py: OKnginx.conf: OKuwsgi.ini: OK
Если вы хотите пофантазировать, вы можете использовать такие вещи, как find
для детализации и фильтрации файлов, а также для рекурсивной работы:
find -type f -exec md5sum "{}" + > checklist.chk