当前位置:网站首页>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
边栏推荐
猜你喜欢

Introduction to the PartImageNet Semantic Part Segmentation dataset

PHP Serialization: eval

「面经分享」西北大学 | 字节 生活服务 | 一面二面三面 HR 面

ECCV2022: Recursion on Transformer without adding parameters and less computation!

How IDEA runs web programs

Samba 远程命令执行漏洞(CVE-2017-7494)

机器学习模型验证:被低估的重要一环

Invalid bound statement (not found)出现的原因和解决方法

尚硅谷-JVM-内存和垃圾回收篇(P1~P203)

1小时直播招募令:行业大咖干货分享,企业报名开启丨量子位·视点
随机推荐
操作符详解
页面整屏滚动效果
Spark学习:为Spark Sql添加自定义优化规则
Batch大小不一定是2的n次幂!ML资深学者最新结论
Six Stones Programming: No matter which function you think is useless, people who can use it will not be able to leave, so at least 99%
ADS与C#通信
报错IDEA Terminated with exit code 1
IDEA连接MySQL数据库并使用数据
多智能体协同控制研究中光学动作捕捉与UWB定位技术比较
PHP Serialization: eval
numpy矩阵和向量的保存与加载,以及使用保存的向量进行相似度计算
使用CompletableFuture进行异步处理业务
ECCV 2022 | Robotic Interaction Perception and Object Manipulation
AWS实现定时任务-Lambda+EventBridge
机器学习模型验证:被低估的重要一环
滑窗法切分数据
The importance of strategic offensive capability is much higher than strategic defensive capability
新款现代帕里斯帝预售开启,安全、舒适一个不落
浏览器被hao360劫持解决办法
C# control ToolStripProgressBar usage