How can I delete files over (n) days old but leave (n) files regardless of age?
I wrote the following in PHP but I was wondering if there is an elegant way to do this in a Linux shell script? Basically delete files over (n) days old, but leave the (n) newest files regardless o...