print("number of not uploaded files : %s"%len(not_uploaded_list))
print("list of not uploaded files: %s"%not_uploaded_list)
print("number of uploaded files with different md5sum : %s"%len(diff_md5sum_list))
print("list of uploaded files with different md5sum: %s"%diff_md5sum_list)
if__name__=="__main__":
# get the command line arguments
parser=argparse.ArgumentParser(description='Test if all files are uploaded')
...
...
@@ -92,18 +111,15 @@ if __name__ == "__main__":
parser.add_argument("-f","--file_expression",help='File expression of the files to be uploaded, e.g. "*/*/*.BMR"',required=True,default="")
parser.add_argument("-up","--upload",help='Upload missing files and files with different md5sum',action='store_true')
parser.add_argument("-d","--delete_uploaded",help="Delete files on local file system which are uploaded an have same md5sum on server as locally",action='store_true')
parser.add_argument("-u","--url",help="Request url to data bucket stream, e.g. https://monitoring.woelfel.de/neo-erp5/data_stream_module/26",required=True,default="")
parser_mutex.add_argument("-u","--url",help="Request url to data bucket stream, e.g. https://monitoring.woelfel.de/neo-erp5/data_stream_module/26",default="")
parser_mutex.add_argument("-i","--info_url",help="Request url to retrieve url of data bucket stream ",default="")