RE: MD5'ing a directory tree in Linux?

From: Williams, Larry (
Date: 06/27/02

Date: Thu, 27 Jun 2002 08:53:02 -0500
From: "Williams, Larry" <>
To: "'Mark G. Spencer'" <>, "" <>

You may need to create a shell command line to do this. I've not used md5sum nor am I at a Linux station at this moment, but I envision something like this:

        ls -1 / | md5sum >> outfile

-----Original Message-----
From: Mark G. Spencer
Sent: Wednesday, June 26, 2002 16:24
Subject: MD5'ing a directory tree in Linux?

Is it possible to MD5 all the items in a directory tree using Linux? I
am on a Redhat 7.3 workstation. I have read the man and info file for
MD5SUM and also tried to run it against a directory without success. I
get the error "Is a directory" which is very self explanatory.

So .. Is there another MD5 utility with more flexibility? I basically
need to MD5 every file individually in a large directory tree with the
output redirected to a text file showing the path, filename, and hash of
every file in that directory tree.

Thanks for the assistance,