[日常] Linux使用diff来比较目录
发布时间:2021-03-09 23:17:58 所属栏目:Linux 来源:网络整理
导读:Linux diff比较两个目录的不同: diff dir1 dir2? -urNaq -a? --text? Treat all files as text. -u? -U NUM? --unified[=NUM]? Output NUM (default 3) lines of unified[统一] context. -u,-U 或--unified= :以合并的方式来显示文件内容的不同; -N? --ne
Linux diff比较两个目录的不同: diff dir1 dir2? -urNaq -a? --text? Treat all files as text. -u? -U NUM? --unified[=NUM]? Output NUM (default 3) lines of unified[统一] context. -u,-U<列数>或--unified=<列数>:以合并的方式来显示文件内容的不同; -N? --new-file? Treat absent[缺少] files as empty. -r? --recursive? Recursively compare any subdirectories found. -q? --brief? Output only whether files differ.[不显示内容] 比较两个目录的不同: (编辑:ASP站长) 【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。 |
相关内容
未处理完善
-
无相关信息
最新更新