I would like to be able to remove files from our DG/Unix system based on the date the files were created. Ideally, I would like to maintain a flat file of filenames and their days to expire and then remove the files that have a date prior to the date of today minus the days to expire.
For example the flat file would have records such as the following:
With this example, all acct-aging files would be deleted after 30 days and mfg-trans after 45 days.
Is there any utility that exists or does somebody have a script that would allow this?