Michael - 2012-10-11

A shell script to recursively compare 2 directories, file by file (using md5sum command).

0) you need those commands/prorgams available in your system:
for program work (all): sh, echo, find, sort, comm, md5sum, awk.
for downloading program from repository (any): git, svn, hg.
1) download dircmp.sh from one of repositories in this project
2) sudo chmod +x ./dircmp.sh
3) sudo cp -a ./dircmp.sh /usr/bin/dircmp.sh
4) sudo ln -s /usr/bin/dircmp.sh /usr/bin/dircmp
5) dircmp dir1 dir2
6) enjoy!

 

Last edit: Michael 2012-10-11