I have two text files containing multiple lines of text, I need to compare both files and write the missing lines in the file two.
i will use a while loop for check every 60 seconds, i an idea but just work 1 pass
File one:
2012-10-04 01:03:11,50EF87C3.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="1"
2012-10-04 01:18:59,50EF8BAD.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="2"
2012-10-04 01:20:46,50EF8BAE.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="3"
2012-10-04 01:21:33,50EF8BAF.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="4"
2012-10-04 01:39:06,50EF8BB0.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="5"
File two:
2012-10-04 01:03:11,50EF87C3.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="1"
2012-10-04 01:18:59,50EF8BAD.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="2"
2012-10-04 01:20:46,50EF8BAE.req,192.168.1.1,12312312312,OK -- HUAWEI Mobile Connect - 3G Modem #6,Text="3"