each night the server starts backing up the users data and creates diff .log files.
sync of XXXX:/export/home/user1 to /sync/syncvol08/user1
sync of YYYY:/export/home/user2 to /sync/syncvol08/user2
and etc. but they are for the same date.
1- I want to combine all diff log files. I mean better in a way that the system merge all this type of log files chronically.
2- I need to convert that .log file to a CSV(or excel) file which contains:
Date-path from-path to-duration of synchronization
* by duration of synchronizarion: means the diff. between starting now and successful and other lines are NOT needed.
* other log files have exacty the same format
for me it is really difficult to write a script which does both.
Can anyone help with a solution?
I would really appreciate it.
Thanks in advance.