文件夹比较

发布于 2024-08-25 03:10:03 字数 340 浏览 4 评论 0原文

我有两个带有子文件夹的文件夹。一个文件夹是基本文件夹,另一个是本地文件夹。这些文件夹和子文件夹中包含相同和不同的文件。

我想比较这些文件夹并在其他文件中报告结果。该报告必须包括:

  1. 所有相同文件的列表
  2. 所有已修改文件的列表
  3. 任何丢失文件或文件夹的列表
  4. 所有非相同文件的列表

是否有用于此目的的工具、批处理脚本或实用程序?

我尝试过 WinMerge,但这不是解决方案。

I have two folders with sub folders. One folder is the base folder, and the other one is the local folder. In these folders and subfolders consist identical as well as non identical files.

I want compare these folders and report the result in some other file. This report must consist of:

  1. List of all identical files
  2. List of all modified files
  3. List of any missing file or folder
  4. List of all non identical file

Is there a tool, batch script or utility for this?

I have tried WinMerge, but it's not the solution.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

一杆小烟枪 2024-09-01 03:10:03

BeyondCompare 就是您所寻找的。只需点击一下,它就会为您提供所有这些报告。

更新

作为您评论的后续,您还可以使用这种方法,它像啤酒一样免费,并且通过命令行完成所有操作。

安装一个名为 diff 工具 的工具,您将能够做类似的事情:

diff.exe
在命令行上。

BeyondCompare is what you're looking for. It will give you all those reports in a matter of clicks.

UPDATE

As a follow up to your comment, you can also use this approach, which is as free as in beer, and does everything via command line.

Install a tool called diff tools, and you'll be able to do something like:

diff.exe
On the command line.

清风疏影 2024-09-01 03:10:03

Araxis Merge 对此非常有用。我也有 64 位版本。

Araxis Merge is very good for this. I comes in a 64 bit version as well.

纵性 2024-09-01 03:10:03

为此,我必须推荐Beyond Compare,它是一个优秀文件夹和文件比较工具工具。您可以将其集成到 Visual Studio 中 以及文件对比,以获得更好更好的合并体验。

I have to recommend Beyond Compare for this, it's an excellent folder and file comparison tool. You can integrate it into Visual Studio as well for the file comaprison for a much better merging experience as well.

寒尘 2024-09-01 03:10:03

您可以使用 WinDiff,这是一个图形文件比较程序。

You can use WinDiff, a graphical file-comparison program.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文