以前用meld,发现有时不稳定,闪退。查了一下,diff命令也能比较目录,不限于单个文件。
diff -Naur 0723 0801
选项解释:
-N, --new-file
treat absent files as empty
-a, --text
treat all files as text
-u, -U NUM, --unified[=NUM]
output NUM (default 3) lines of unified context
-r, --recursive
recursively compare any subdirectories found