当前位置:网站首页>Shell script classic case: backup of files
Shell script classic case: backup of files
2022-07-31 13:47:00 【Jiangxl~】
Shell scripting classic case: backup of files
Article table of contents
1. Periodically delete files in the /data directory that have been modified for more than 7 days
Deleting files older than seven days
find /data -mtime +30 | xargs rm -rffind /data -mtime +30 -exec rm -rf {} \; 2. Periodically clean /data/YY-MM-DD.tar.gz
边栏推荐
- MySQL has played to such a degree, no wonder the big manufacturers are rushing to ask for it!
- C# control ListView usage
- Invalid bound statement (not found)出现的原因和解决方法
- leetcode:2032. 至少在两个数组中出现的值
- C#高级--委托
- C#控件CheckBox的使用
- Usage of += in C#
- ICML2022 | Fully Granular Self-Semantic Propagation for Self-Supervised Graph Representation Learning
- LeetCode旋转数组
- ADS communicate with c #
猜你喜欢
随机推荐
Shell脚本经典案例:探测批量主机是否存活
DELL SC compellent 康贝存储系统怎么抓取配置信息
C#控件ListView用法
Error IDEA Terminated with exit code 1
Even if the image is missing in a large area, it can also be repaired realistically. The new model CM-GAN takes into account the global structure and texture details
C#高级--委托
ICML2022 | 面向自监督图表示学习的全粒度自语义传播
The pre-sale of the new Hyundai Paristi is open, and safety and comfort are not lost
ECCV 2022 | 机器人的交互感知与物体操作
IDEA如何运行web程序
ADS communicate with c #
C# Get network card information NetworkInterface IPInterfaceProperties
百度网盘安装在c盘显示系统权限限制的解决方法
pytorch gpu版本安装最新
基于去噪自编码器的故障隔离与识别方法
IDEA连接MySQL数据库并使用数据
多智能体协同控制研究中光学动作捕捉与UWB定位技术比较
C语言基础练(九九乘法表)与打印不同星号图案
hyperf的启动源码分析(二)——请求如何到达控制器
滑窗法切分数据









