Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Nice, but can't get it to work, it says .../foo: Is a directory, what gives? Commented Oct 2, 2014 at 1:21
  • 3
    On its own md5deep doesn't solve the OP's problem as it doesn't print a consolidated md5sum, it just prints the md5sum for each file in the directory. That said, you can md5sum the output of md5deep - not quite what the OP wanted, but is close! e.g. for the current directory: md5deep -r -l -j0 . | md5sum (where -r is recursive, -l means "use relative paths" so that the absolute path of the files doesn't interfere when trying to compare the content of two directories, and -j0 means use 1 thread to prevent non-determinism due to individual md5sums being returned in different orders). Commented Oct 14, 2015 at 12:34
  • How to ignore some files/directories in the path? Commented Oct 21, 2016 at 13:17
  • I liked the most upvoted answer, but this was more straightforward imo. Thank you! Commented Feb 14, 2020 at 22:43