美文网首页
快速比较两个目录中文件的差别

快速比较两个目录中文件的差别

作者: 老陕西 | 来源:发表于2022-09-28 07:32 被阅读0次
    laoshanxi@appmesh-desktop:~/new/app-mesh/b$ diff --brief --recursive ~/app-mesh/ ~/new/app-mesh/ | grep -v ".git"
    Only in /home/laoshanxi/app-mesh/: 1.log
    Only in /home/laoshanxi/app-mesh/: 2.log
    Only in /home/laoshanxi/new/app-mesh/: b
    Only in /home/laoshanxi/app-mesh/: build
    Only in /home/laoshanxi/app-mesh/: cpr.patch
    Files /home/laoshanxi/app-mesh/src/cli/ArgumentParser.cpp and /home/laoshanxi/new/app-mesh/src/cli/ArgumentParser.cpp differ
    Only in /home/laoshanxi/app-mesh/src/cli: MultipartParser.cpp
    Only in /home/laoshanxi/app-mesh/src/cli: MultipartParser.h
    Only in /home/laoshanxi/app-mesh/.vscode: settings.json
    

    相关文章

      网友评论

          本文标题:快速比较两个目录中文件的差别

          本文链接:https://www.haomeiwen.com/subject/kbaqartx.html