Board logo

标题: diff两个目录下文件的不同 [打印本页]

作者: linda    时间: 2024-9-3 10:54     标题: diff两个目录下文件的不同

diff --brief --recursive dir1/ dir2/
或者
diff -qr dir1/ dir2/

参考:
https://stackoverflow.com/questions/4997693/given-two-directory-trees-how-can-i-find-out-which-files-differ-by-content




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0