Chinaunix首页 | 论坛 | 博客
  • 博客访问: 71182
  • 博文数量: 7
  • 博客积分: 211
  • 博客等级: 入伍新兵
  • 技术积分: 179
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-17 08:18
文章分类
文章存档

2012年(6)

2011年(1)

我的朋友

分类: LINUX

2012-06-30 23:18:16

cd /folder1
find . -exec stat {} -c %n:%U:%G:%A \; > /tmp/folder1.txt
cd /folder2
find . -exec stat {} -c %n:%U:%G:%A \; > /tmp/folder2.txt
diff /tmp/folder1.txt /tmp/folder2.txt
阅读(1143) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~