find dir -type f -print0 | xargs -0 md5sum > dir.md5 转载于:https://www.cnblogs.com/liyuxia713/archive/2012/03/27/2540716.html