I have a log file which gets appended every day by a program.
I want to keep backup of this log file for 60 days using shell script on Linux, the log file is only one and not by date.
Time stamp will get updated of log file when ever it gets updated.
How do I keep backup of this log file for 60 days?
Another log file is inside folder and everyday new log files get copied to this folder, how do I keep backup of this for 60 days using shell script on Linux?
Thanks in Advance!