Deleting files by age
Write a shell script to delete all the files which are "n" of older that current day, where n can be 3days. 2days, or 1 year etc. The above script should only delete files which is having an extension *.log.
Any help on this? Thanks