baihongyu.com
博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
批量删除文件
阅读量:
7125 次
发布时间:
2019-06-28
本文共 183 字,大约阅读时间需要 1 分钟。
/da/we/html/a 下面有80万个html 需要删除任意的2w个
cd /da/we/html/a;ls -U|head -n 20000|xargs rm -f
1秒钟搞定
默认ls是会排序的 这样执行会卡住了。ls -U
本文转自 liang3391 51CTO博客,原文链接:http://blog.51cto.com/liang3391/760509
转载地址:http://mreel.baihongyu.com/
你可能感兴趣的文章
rsync工具介绍、常用选项、通过ssh同步
查看>>
/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory
查看>>
python入门到放弃02
查看>>
expect 打开文件
查看>>
Bootstrap调研
查看>>
华佗教你睡觉 一定要看
查看>>
我的友情链接
查看>>
Linux中设置服务自启动的三种方式
查看>>
windows应用程序框架及实例
查看>>
frida Hook 重载方法
查看>>
【CentOS 7.1】 mount 3T
查看>>
iOS 性能优化:Instruments 工具的救命三招
查看>>
数据中心那些常见的问题
查看>>
Linux服务器关闭/开启ICMP协议(ping)
查看>>
我的友情链接
查看>>
Linux基础
查看>>
Linux逻辑卷快照及ssm的使用
查看>>
关于工资的三个秘密
查看>>
NFS服务器配置
查看>>
APUE读书笔记-05标准输入输出库(2)
查看>>