That works great, cabrao! Thanks a million! Just curious on how to have this output redirected back to the original file, if possible. Or will I have to have this output directed to a new file? I don't want the original file to grow out of control, as it is capturing all logins.
Maybe (if you can not redirect new output into original file) we could parse any lines in original file with a date older than 90 days? Any help is appreciated...
---------- Post updated at 10:03 AM ---------- Previous update was at 09:41 AM ----------
This is the original script to produce output file:
Is there a way to add what cabrao stated to this to minimize the size of my current forever-growing output file (/tmp/testfile1)? All help is greatly appreciated.