I need to calculate a summary md5 checksum for all files of a particular type (*.py
for example) placed under a directory and all sub-directories.
What is the best way to do that?
Edit: The proposed solutions are very nice, but this is not exactly what I need. I'm looking for a solution to get a single summary checksum which will uniquely identify the directory as a whole - including content of all its sub-directories.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…