当前位置:网站首页>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
边栏推荐
- numpy矩阵和向量的保存与加载,以及使用保存的向量进行相似度计算
- PartImageNet物体部件分割(Semantic Part Segmentation)数据集介绍
- LeetCode旋转数组
- 一篇文章讲清楚!数据库和数据仓库到底有什么区别和联系?
- Spark学习:为Spark Sql添加自定义优化规则
- 推荐系统-召回阶段-2013:DSSM(双塔模型)【Embedding(语义向量)召回】【微软】
- selenium被反爬了怎么办?
- MySQL玩到这种程度,难怪大厂抢着要!
- 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
- P5019 [NOIP2018 提高组] 铺设道路
猜你喜欢
随机推荐
滑窗法切分数据
Text similarity calculation (Chinese and English) detailed explanation of actual combat
C# List Usage List Introduction
3.爬虫之Scrapy框架1安装与使用
C#控件StatusStrip使用
ECCV2022: Recursion on Transformer without adding parameters and less computation!
C#使用NumericUpDown控件
golang-gin-pprof-使用以及安全问题
IDEA如何运行web程序
网络层重点协议——IP协议
LeetCode只出现一次的数字
C# 中的Async 和 Await 的用法详解
C#高级--委托
The latest complete code: Incremental training using the word2vec pre-training model (two loading methods corresponding to two saving methods) applicable to various versions of gensim
龟速乘【模板】
使用CompletableFuture进行异步处理业务
Istio微服务治理网格的全方面可视化监控(微服务架构展示、资源监控、流量监控、链路监控)
【牛客刷题-SQL大厂面试真题】NO3.电商场景(某东商城)
pytorch gpu版本安装最新
计算机复试面试问题(计算机面试常见问题)









