skip to navigation
skip to content

md5diff 1.4

A script to compare and diff two md5 files.

Script feature :

* can load all kind (I hope ;-) of md5 files

* the files inside the input md5 lists 'll be diff'ed and flagged as :
** '==' : equal (md5 =, path =, filename =)
** '<>' : different (md5 <>, path =, filename =)
** '<<' or '>>' : new (md5 n/a, path <>, filename <>)
** '<m' or="" 'm="">' : moved (md5 =, path <>, filename =)
** '<r' or="" 'r="">' : renamed (md5 =, path =, filename <>)

* to the stdout 'll be printed :
** the two input md5 files, added of the diff'ing flag; the only difference from
a standard md5 is the diff'ing flag, printed between the md5 and the
path/filename (chars 33,34)
** some stats of the diff'ing


***


Some background :

I needed this script to compare md5 created with different programs, to catch
files renaming and moving and... because programming in python is fun !!!