Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6551714
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: LINUX

2010-11-19 21:12:37

[root@localhost ~]# diff -urNa dir1 dir2

-a  Treat  all  files  as text and compare them    
    line-by-line, even if they do not seem to be text.

-N, --new-file
    In  directory  comparison, if a file is found in
    only one directory, treat it as present but empty
    in the other directory.

-r  When comparing directories, recursively compare
    any subdirectories found.
-u  Use the unified output format.

阅读(22968) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~