当前位置:网站首页>删除当前路径下含某个关键字的所有文件
删除当前路径下含某个关键字的所有文件
2022-07-30 05:46:00 【一只积极向上的小咸鱼】
一 查找含关键字的所有文件名
此处拿"T5"举例
1. 使用ls命令查找
ls -R | grep T5
# -R 显示文件夹内部所有文件2. 使用find命令
find . -name "*T5*"二 将查找到的文件删除
find . -name "*T5*" |xargs rm -rfxargs - build and execute command lines from standard input
三 检查是否还有文件剩余
find . -name "*T5*"或
ls -R | grep T5
# -R 显示文件夹内部所有文件
边栏推荐
- Massive remote sensing data processing and application of GEE cloud computing technology [basic, advanced]
- Receive emails from gmail with pop3
- [Jiangsu University Automation Association stm32F103c8t6] Notes [Initial 32 MCU and EXTI External Interrupt Initialization Parameter Configuration]
- 关于报错vscode
- 联影医疗一面
- R - GIS: how to use R language implementation of GIS geospatial analysis and model prediction
- 【Qingdao Station】High-level application of SWAT model and modeling of areas without data, uncertainty analysis and climate change, improvement of land use surface pollution impact model and case analy
- 边境的悍匪—机器学习实战:第五章 支持向量机
- 求职准备知识点
- 边境的悍匪—机器学习实战:第十六章使用RNN和注意力机制进行自然语言处理
猜你喜欢
CPU的三种工作模式:实模式、保护模式、长模式

TCP为什么要三次握手,握手过程中丢包会怎么样?

边境的悍匪—机器学习实战:第十三章 使用TensorFlow加载和预处理数据

QT串口动态实时显示大量数据波形曲线(五)========“最终完美解决版”

Anaconda 安装低版本tensorflow

Kunlun State Screen Production (serialization 4) --- Basics (graphical setting and display, button lights)

QT serial and CAN dynamic real-time display the log data

干货:线上下单应知应会,快来了解下
![[Jiangsu University Automation Association stm32F103c8t6] Notes [Initial 32 MCU and EXTI External Interrupt Initialization Parameter Configuration]](/img/e5/87cf293ac3d0c613864e99a8fe9a47.png)
[Jiangsu University Automation Association stm32F103c8t6] Notes [Initial 32 MCU and EXTI External Interrupt Initialization Parameter Configuration]

DeepLearing4j's deep learning Yolo Tiny realizes target detection
随机推荐
Kunlun State Screen Production (Serialization 5) --- Basics (serial port reception, text and light display)
Insertion Sort in Classic Sort
2021年软考中级过关
Kunlun State Screen Production (serialization 4) --- Basics (graphical setting and display, button lights)
边境的悍匪—机器学习实战:第四章 训练模型
this是什么(你不知道的JS)
Receive emails from gmail with pop3
基于QT的CAN通讯数据实时波形显示(连载八)====“子函数或新类调用ui控件”
Self-augmented Unpaired Image Dehazing via Density and Depth Decomposition program running record
边境的悍匪—机器学习实战:第十章 Keras人工神经网络简介
Based on R language geographic weighted regression, principal component analysis, discriminant analysis and other spatial heterogeneity data analysis
服务器基础知识:包含基本概念,作用,服务器选择,服务器管理等(学习来自米拓建站)
表格比手机屏幕宽时不压缩,可左右滚动,格子内容不换行
How does MATLAB display nii file slice information in the image?
高效插入map数据
Massive remote sensing data processing and application of GEE cloud computing technology [basic, advanced]
重磅揭晓!第十四届深创赛福田预选赛区暨华秋第八届硬创大赛华南分赛区晋
QT连载3:基于QT和STM32H750的LORA试验平台(2)
QT每周技巧(2)~~~~~~~~~界面按钮
查找Proj4js地图投影参数