摘要:
在/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 {} \; 阅读全文
在/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
杨不易呀
阅读(316)
评论(2)
推荐(1)

浙公网安备 33010602011771号