#!/bin/bash
#delete the file of 7 days ago
find /data/mysqlbackup/ -mtime +7 -name "*.sql" -exec rm -f {} \;

相关文章:

  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案