md5sum for directories?

Alexander Skwar listen at alexander.skwar.name
Tue Aug 15 21:32:26 UTC 2006


ยท pkaplan1 at comcast.net <pkaplan1 at comcast.net>:

> Is there something similar to md5sum for verifying that two copies of a directory are equivalent?

No. You've got to compare all the files in the directory.

It's done easiest with "find" and the "-exec" parameter in combination
with the "sort" and "diff" commands. See the man pages.

Alexander Skwar
-- 
<wenz> quit
<wenz> ~/quit
-!- wenz [~hoshi at pD900E60C.dip.t-dialin.net] has quit [ircII2.8.2-EPIC3.004 ---
          Bloatware at its finest.]






More information about the ubuntu-users mailing list