00001 #!/usr/bin/env python 00002 00003 import sys 00004 from md5sum_check import * 00005 00006 if len(sys.argv) < 1: 00007 print "usaage create-md5sum.py [dir]" 00008 00009 dir_name = sys.argv[1] 00010 00011 md5sum_check_dir([dir_name, None]) 00012 00013 print "Writing result to ...", md5sum_check_filename(dir_name) 00014 00015 00016