windows 比较大的 xml 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1068421/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 12:44:30  来源:igfitidea点击:

Comparing large xml files

windowsfilediff

提问by Crudler

could anyone assist me with this. I need to compare two beefy xml files 40mb each (ok not that beefy), but notepad++ croaks on this. Can anyone suggest something that will help (windows only).

谁能帮我解决这个问题。我需要比较两个强大的 xml 文件,每个 40mb(好吧,不是那么强大),但是 notepad++ 对此很不满意。任何人都可以提出一些有帮助的建议(仅限 Windows)。

I read a similar thread: Text editor to open big (giant, huge, large) text files

我读了一个类似的帖子: 文本编辑器打开大(巨大的、巨大的、大的)文本文件

but this only talks about opening large files. Comparing and opening are 2 very different animals. Can anyone suggest anything that will help

但这仅涉及打开大文件。比较和开场是两种截然不同的动物。任何人都可以提出任何有帮助的建议

Thanks Craig

谢谢克雷格

回答by Cerebrus

I always use DiffMergeor ExamDiff(Pro version) for my Diff needs. I haven't tried them with files larger than 2 MB, but you might want to give them a try.

我总是使用DiffMergeExamDiff(专业版)来满足我的 Diff 需求。我还没有尝试过使用大于 2 MB 的文件,但您可能想尝试一下。

回答by Icebob

c:\WINDOWS\system32\fc.exe <firstfile> <secondfile>

? :)

? :)

回答by l0b0

kDiff3worked fine for me to compare files greater than 10 MB - It's quite light-weight.

kDiff3对我来说可以很好地比较大于 10 MB 的文件 - 它非常轻巧。

回答by Michael Podlejska

I use WinDiff for such a purpose. It was installed on my windows7 machine and comes from Microsoft (so its free). It's 64Bit application and performs very well.

我将 WinDiff 用于这样的目的。它安装在我的 windows7 机器上,来自微软(所以它是免费的)。它是 64 位应用程序,性能非常好。

回答by Charitha Goonewardena

Could easily compare with vs code. no need to download plugins or anything, comes with the default package. Just drag and drop the files you want to compare and select the option as compare with selected.
enter image description here

可以很容易地与 vs 代码进行比较。无需下载插件或任何东西,带有默认包。只需拖放要比较的文件,然后选择与选定的比较选项即可。
在此处输入图片说明