摘要: 在/home/data目录下创建 clear.sh脚本 # 内容如下: #!/bin/sh find /root/fastdfs/storag* -mtime + 30 -type f -name "*.png" -exec rm -rf {} \; find /root/fastdfs/storag* -mtime + 30 -type f -name "*.jpg" -exec rm -rf {} \; find /root/fastdfs/storag* -mtime + 30 -type f -name "*.mp4" -exec rm -rf {} \; 阅读全文
posted @ 2020-08-06 10:08 杨不易呀 阅读(300) 评论(2) 推荐(1) 编辑