Hi,
I wanted to know if there was a one-step command to determine the age of a file, something like months_between(DATE1,DATE2) in oracle. I need to write a purge script that can delete all log files older than 3 months. What is the best way to do that?
Thanks in advance!
Muskaan
I wanted to know if there was a one-step command to determine the age of a file, something like months_between(DATE1,DATE2) in oracle. I need to write a purge script that can delete all log files older than 3 months. What is the best way to do that?
Thanks in advance!
Muskaan