[小技巧]diff的文件夹忽略使用方式时间:2023-03-09 03:27:00 当我们比较两个文件夹时经常需要忽略.svn或者.git,那么如下 diff -r -x ".git" -x "*.ko" -x "*.o" -x "cscope*" -x "*.map" path1 path2