Finding and removing files older than X days using a date in filename

后端 未结 0 1364
遇见更好的自我
遇见更好的自我 2020-12-20 16:12

I have a directory that includes log files, that includes the following date format (YYYY-MM-DD).

app-2020-12-17.log.2
app-2020-12-18.log.1
app-2020-12-18.log         


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