全部分类
移动开发与应用
WEB前端
架构与运维
程序设计
数据库
操作系统
热点技术
综合
find 命令的一些应用
1736阅读 0评论
2009-09-15
fucj
分类:
LINUX
1、用find命令查找特定时间点的文件
touch -t 04241220 starttemp
touch -t 06241220 endtemp
find [dir] -newer starttemp -a ! -newer endtemp -exec ls -la {} \;
rm startemp endtemp
2、查找目录
find \dir -name -type d
上一篇:
自动执行交互式工具一(管道或者here文档)
下一篇:
mysql的一些常用命令