How can I delete files over (n) days old but leave (n) files regardless of age?

前端 未结 0 1642
梦谈多话
梦谈多话 2021-02-13 22:52

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) newes

相关标签:
回答
  • 消灭零回复
提交回复
热议问题