常用命令 find + rm删除 如:查到当前文件夹下名称前缀是sentinel-record.log.2024-08- 的文件,并删除 find ./ -name "sentinel-record.log.2024-08-*" | xargs rm -rf 查找30天前的文件 find /roo