Chinaunix首页 | 论坛 | 博客
  • 博客访问: 383779
  • 博文数量: 117
  • 博客积分: 4416
  • 博客等级: 上校
  • 技术积分: 1135
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-08 14:16
个人简介

一生醉生忘死,就让他继续下去吧!

文章分类

全部博文(117)

分类: LINUX

2009-09-15 10:27:58

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
 
阅读(1679) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~