I currently have a cron job setup to move log files to an archive directory every night. The name of the new file is "<filename>.<date>". I now want to setup a job that will delete the archive files based on the date appended to the file name. I need to use the current system date and delete any files older than seven days.
How can I do this? Thanks - Lisa
** SAMPLE LOG FILE NAMES **