linux删除文件的shell
来源:互联网 发布:知乎 百事可乐 无糖 编辑:程序博客网 时间:2024/05/29 12:09
#!/bin/sh#cd /tmpfind . -name 'advertisement_column*.xml' -exec rm {} \;find . -name 'basetemp*.xml' -exec rm {} \;find . -name 'customerhis*.xml' -exec rm {} \;find . -name 'diet_*.xml' -exec rm {} \;find . -name 'due_*.xml' -exec rm {} \;find . -name 'exercise*.xml' -exec rm {} \;find . -name 'food_*.xml' -exec rm {} \;find . -name 'fp_*.xml' -exec rm {} \;find . -name 'friend_*.xml' -exec rm {} \;find . -name 'mens*.xml' -exec rm {} \;find . -name 'otg*.xml' -exec rm {} \;find . -name 'no_*.xml' -exec rm {} \;find . -name 'preg*.xml' -exec rm {} \;find . -name 'rans*.xml' -exec rm {} \;find . -name 'secret_*.xml' -exec rm {} \;find . -name 'tanita*.xml' -exec rm {} \;find . -name 'tera_*.xml' -exec rm {} \;find . -name 'unsign_*.xml' -exec rm {} \;find . -name 'user*.xml' -exec rm {} \;find . -name 'weight*.xml' -exec rm {} \;exit
删除文件的例子
- linux删除文件的shell
- Shell-Linux批量删除文件
- Shell-linux批量删除文件
- linux 定时删除文件shell
- linux shell脚本_文件的批量删除_2.0
- Linux 定时删除文件或文件夹的shell脚本
- linux shell, 三行命令:查找并删除重复的文件
- 删除日志文件的shell
- Linux Shell删除两个文件相同部分
- Linux Shell删除两个文件相同部分
- Linux Shell删除两个文件相同部分
- shell脚本删除linux中的文件
- [linux shell] 使用shell每天定时拷贝文件到新的文件名下,并删除30天之前的文件
- linux shell下除了某个文件外的其他文件全部删除的命令
- linux shell下除了某个文件外的其他文件全部删除的命令
- linux shell下除了某个文件外的其他文件全部删除的命令
- linux shell下除了某个文件外的其他文件全部删除的命令
- linux shell下除了某个文件外的其他文件全部删除的命令
- 缓存
- Window.Close();Window.Open();
- 九个PHP很有用的功能和函数
- Caching java method with Ehcache annotation
- 报表iText 简介-Java PDF
- linux删除文件的shell
- 虚拟打印的实现-DDK部分
- svn使用札记
- [网络收集]JS刷新页面总和!多种JS刷新页面代码!
- 虚拟打印的实现-SPL转换成EMF
- 虚拟打印的实现-EMF转换成BMP
- VMWARE上suse linux 10环境: Oracle 10g cluster+asm+rac安装流程
- 虚拟打印的实现-安装
- png 透明的一些问题