I got a process that creates an Archive for files everyday. The process
runs once a day, so one file is sent to the archive then. I’m keeping the
files in the archive for 14 days. Right now I have to manually delete
these archived files that are 14 days old.
I want to automate the process so that there’s a script/batch job that
would look into the archive directory and automatically delete files that
are atleast 14 days old. How do I do that?