会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yoyoma0355
博客园
首页
新随笔
联系
管理
订阅
2021年1月21日
shell脚本只删除一个目录下的文件,或只删除一个目录下的文件夹
摘要: 参考链接: https://www.cnblogs.com/mingyue605/p/10704108.html #!/bin/sh RM="rm -rf" function delete_all_dir() { for i in `ls` do if [ -d $i ];then $RM $i f
阅读全文
posted @ 2021-01-21 18:05 yoyoma0355
阅读(1223)
评论(0)
推荐(0)
编辑
公告