一个命令就可取得所有文件的 md5
$ find -type f -exec md5sum "{}" + > md5sums
md5sums 文件里就是 /usr/share 里的文件 md5 列表
f06e328e126860e6aca97b7bd17ff771 usr/share/applications/youdao-dict.desktop
97885b7dc562033935060b350ef391aa usr/share/dbus-1/services/com.youdao.backend.service
3faadff0f0a27e07b0a3716a8ac54a90 usr/share/dbus-1/services/com.youdao.indicator.service
f925c4d4a5b3ee8fd10607edf4ef00ed usr/share/doc/youdao-dict/changelog.Debian
355ea77725c8c7840819d7cf10d8d09c usr/share/doc/youdao-dict/copyright
95a05783b7827d7ea980c0397749e628 usr/share/doc/youdao-dict/license_ch.docx
aa31f550d133c0942c1ed43bcb4f4ac0 usr/share/doc/youdao-dict/license_ch.txt
a943ddeead85041183a5ae24b7d41c1f usr/share/icons/hicolor/16x16/apps/youdao-dict.png
2c77655688ae53f6134ea669437f48f3 usr/share/icons/hicolor/24x24/apps/youdao-dict.png
4894b6a3005bdf6c18b75f543002335e usr/share/icons/hicolor/48x48/apps/youdao-dict.png
没有评论:
发表评论