当我们将文件从一个文件夹移动到另一个文件夹时,强烈建议您确保所有文件都已准确移动。有些文件如果复制不完美,可能会导致数据丢失。从原始目录复制到新目录的文件的视觉比较可能看起来很容易,但对于许多文件来说并不可行。因此(Hence),需要一种工具来比较两个文件夹中的文件。一种这样的工具是WinMerge。您可以通过将它们与原始目录进行比较来识别丢失的文件。
在本指南中,我们解释了在WinMerge的帮助下比较两个文件夹中文件的基本步骤。您将学习如何在系统中安装WinMerge以及如何使用它来比较文件。
如何在 Windows 10 上比较两个文件夹中的文件(How to Compare Files in Two Folders on Windows 10)
如何在 Windows 10 上安装 WinMerge?(How to Install WinMerge on Windows 10?)
WinMerge是一个免费应用程序,您可以从此处提到的网站(website mentioned here)下载它。
1. 点击立即下载(Download Now)按钮。
2. 等待下载完成。之后,在下载的文件上单击两次(click twice on the downloaded file)以打开安装向导。
3. 在此处,单击许可协议页面上的下一步。(Next )这意味着您同意继续选择。它将带您进入下一页,该页面将为您提供在安装过程中选择功能的选项。
4. 单击要在安装期间包含的功能,然后选择(Features)下一步。(Next. )
5. 您现在将被重定向到一个页面,您可以在其中选择其他任务(Additional tasks),例如桌面快捷方式、文件资源管理器(File Explorer)、上下文菜单集成等。菜单中还有许多其他功能,您可以启用(enable)或禁用(disable)这些功能。做出所需的选择后,选择下一步(Next)继续。
6. 当您单击Next时,您将被定向到最后一页。它将显示您迄今为止选择的所有选项。检查(Check)列表并单击安装。(Install. )
7. 现在,安装过程开始。安装过程完成后,单击“下一步”(Next )跳过短消息,最后单击“完成(Finish )”退出安装程序。
另请阅读:(Also Read:) 如何在 Windows 10 上批量重命名多个文件(How to Rename Multiple Files in Bulk on Windows 10)
如何使用 WinMerge 比较两个文件夹中的文件?(How to Compare Files in Two Folders Using WinMerge?)
1. 要开始该过程,请打开WinMerge。
2. WinMerge窗口弹出后,同时单击Control+O键。这将打开一个新的比较窗口。
3.单击浏览选择第(Browse, )一个文件或文件夹(first file or folder),如下所示。
4. 接下来,以同样的方法选择第二个文件或文件夹(2nd file or folder)。
注意:(Note:) 确保使用(Make sure that the two files are checked with the )只读(Read-only )框选中这两个文件。(box.)
5. 将文件夹过滤器( Folder Filter )设置为“ *.* ”。这将允许您比较所有文件。
6. 选择文件并确保检查后,单击比较。(Compare.)
7. 当您单击比较时,(Compare, ) WinMerge 开始比较两个文件。如果文件大小很小,那么该过程将很快完成。另一方面,如果文件很大,则需要一段时间才能完成该过程。比较时,所有文件都会显示在文件夹中,比较结果会连同最后修改日期一起显示。
重要信息:(Important info: )这些颜色组合将帮助您更轻松地进行分析。
- 如果显示比较结果,右仅(Right only)表示第一个比较文件中不存在相应的文件/文件夹。它以灰色( grey)表示。
- 如果比较结果显示为Left only,则表示对应的文件/文件夹不存在于第二个比较文件中。它以灰色( grey)表示。
- 唯一文件以白色(white)表示。
- 没有相似之处的文件以黄色(Yellow)着色。
8. 您可以通过双击(double-clicking)文件来查看文件之间的明显差异。这将打开一个宽大的弹出屏幕,其中以更详细的方式进行比较。
9. 可以借助查看(View )选项自定义比较结果。
10.您可以在树模式下查看文件。您可以选择文件,即相同项目(Items)、不同项目(Different Items)、左侧唯一项目(Left Unique Items)、右侧唯一项目(Right Unique Items)、跳过项目(Skipped Items)和二进制文件(Binary Files)。您可以通过选中(checking)所需选项并取消选中(unchecking)其余选项来做到这一点。这样的自定义将节省分析时间,并且您可以最早识别目标文件。
因此,您可以按照上述步骤比较两个文件夹中的文件。
注意:(Note: )如果要更新对现有比较的任何更改,可以单击下图中显示的刷新图标(refresh icon)或单击F5键。
要开始新的比较,请点击选择文件或文件夹(Select Files or Folders )选项。在下一步中,使用浏览(Browse)选项替换您的目标文件或文件夹,然后单击比较。(Compare. )
比较两个文件夹中文件的其他一些工具(Some Other Tools to Compare Files in Two Folders)
1.融合(1. Meld)
-
Meld是一个支持(Meld)Windows和Linux的开源应用程序。
- 它支持文件和目录的二路和三路比较和合并功能。
- 编辑功能可直接在比较模式下使用。
2.超越比较(2. Beyond Compare)
-
Beyond Compare支持Windows、macOS 和Linux。
- 它可以比较PDF文件、excel 文件、表格,甚至图像文件。
- 您可以通过合并已添加的更改来生成报告。
3. Araxis 合并(3. Araxis Merge)
-
Araxis Merge不仅支持图像和文本文件,还支持Microsoft PowerPoint、Microsoft Word、Microsoft Excel等办公文件,
- 它同时支持 Windows 和 macOS。
- 一个许可证对两个操作系统都有效。
4. KDiff3
- 它是一个支持 Windows 和 macOS的开源平台。(open-source platform)
- 支持自动合并功能。
- 逐行和逐字符阐明差异。
5. DeltaWalker
- DeltaWalker类似于Araxis Merge。
- 除了比较办公文件之外,DeltaWalker 还(DeltaWalker)可以让您比较ZIP、JAR等文件档案。
-
DeltaWalker支持Windows、macOS 和Linux。
6. P4Merge
-
P4Merge支持Windows、macOS 和Linux。
- 它是免费的,适合基本的比较需求。
7.吉菲(7. Guiffy)
-
Guiffy支持Windows、macOS 和Linux。
- 它支持语法高亮和多重比较算法。
受到推崇的:(Recommended:)
我们希望本文对您有所帮助,并且您能够在 Windows 10 PC 上比较两个文件夹中的文件。(compare files in two folders on Windows 10 PC.)如果您有任何疑问,请通过下面的评论部分与我们联系。
How to Compare Files in Two Folders on Windows 10
When we move the files from one folder to another, іt is highly recommended thаt you еnsure that all the fileѕ have been moved accuratelу. Ѕome filеs, if not сopiеd perfectly, may lead to data loss. A visυal comparison of files copied from the original directory to a new one may lоok easy but isn’t feasible for many files. Hence, there arises a requirement for а tool that compares files іn two fоlderѕ. One such tool is WinMerge. You can identify the missing files by comparing them with the original direсtory.
In this guide, we have explained the basic steps to compare files in two folders with the help of WinMerge. You will learn how to install WinMerge in your system and how to use it to compare files.
How to Compare Files in Two Folders on Windows 10
How to Install WinMerge on Windows 10?
WinMerge is a free application, and you can download it from the website mentioned here.
1. Click on Download Now button.
2. Wait for the download to be complete. After that, click twice on the downloaded file to open the installation wizard.
3. Here, click on Next on the license agreement page. This means you agree to continue with the selection. It takes you to the next page, which will give you an option to select the features during installation.
4. Click on the Features you want to include during installation and select Next.
5. You will now be redirected to a page where you can select Additional tasks, like a desktop shortcut, File Explorer, context menu integration, etc. There are many other features available in the menu, which you can either enable or disable. After making the required selections, choose Next to continue.
6. When you click on Next, you will be directed to the final page. It will display all the options you have selected thus far. Check the list and click on Install.
7. Now, the installation process begins. When the installation process gets completed, click on Next to skip the short message, and finally, click on Finish to exit from the installer.
Also Read: How to Rename Multiple Files in Bulk on Windows 10
How to Compare Files in Two Folders Using WinMerge?
1. To begin the process, open WinMerge.
2. Once the WinMerge window pops up, click Control+O keys together. This will open a new comparison window.
3. Select the first file or folder by clicking on Browse, as shown below.
4. Next, select the 2nd file or folder by the same method.
Note: Make sure that the two files are checked with the Read-only box.
5. Set Folder Filter to “*.*”. This will allow you to compare all the files.
6. After selecting the files and ensuring the checks, click on Compare.
7. When you click on Compare, WinMerge starts to compare the two files. If the file size is small, then the process will be completed quickly. On the other hand, if the file size is large, it takes a while for the process to be completed. When the comparison is made, all the files will be displayed in folders, and the comparison result will be displayed along with the last date of modification.
Important info: These color combinations will help you to make analysis easier.
- If the Comparison result displays, Right only indicate that the corresponding file/folder is not present in the first comparison file. It is indicated by the color grey.
- If the Comparison result displays, Left only, it indicates that the corresponding file/folder is not present in the second comparison file. It is indicated by the color grey.
- Unique files are indicated in white.
- The files that have no similarities are colored in Yellow.
8. You can view the distinct differences between files by double-clicking on them. This will open a wide pop-up screen where the comparisons are made in a more detailed manner.
9. The comparison results can be customized with the help of the View option.
10. You can view the files in tree mode. You can select the files, namely, Identical Items, Different Items, Left Unique Items, Right Unique Items, Skipped Items, and Binary Files. You can do so by checking the desired option and unchecking the rest. Such customization will save analysis time, and you can identify the target file at the earliest.
Thus, you can compare files in two folders by following the above steps.
Note: If you want to update any changes to the existing comparison, you can click on the refresh icon displayed in the following picture or click on the F5 key.
To start a new comparison, tap the Select Files or Folders option. In the next step, replace your target files or folders using the Browse option and click Compare.
Some Other Tools to Compare Files in Two Folders
1. Meld
-
Meld is an open-source app that supports both Windows and Linux.
- It supports two and three-way comparing and merging features for files and directories.
- The editing feature is available directly in the comparison mode.
2. Beyond Compare
-
Beyond Compare supports Windows, macOS, and Linux.
- It compares PDF files, excels files, tables, and even image files.
- You can generate the report by merging the changes you have added to it.
3. Araxis Merge
-
Araxis Merge supports not only image and text files but also office files like Microsoft PowerPoint, Microsoft Word, Microsoft Excel, etc.,
- It supports both Windows and macOS.
- A single license is valid for both operating systems.
4. KDiff3
- It is an open-source platform that supports Windows and macOS.
- An automatic merging facility is supported.
- Differences are clarified line-by-line and character-by-character.
5. DeltaWalker
- DeltaWalker is similar to that of Araxis Merge.
- Apart from comparing office files, DeltaWalker lets you compare file archives like ZIP, JAR, etc.
-
DeltaWalker supports Windows, macOS, and Linux.
6. P4Merge
-
P4Merge supports Windows, macOS, and Linux.
- It is cost-free and suits basic comparison needs.
7. Guiffy
-
Guiffy supports Windows, macOS, and Linux.
- It supports syntax highlighting and multiple comparison algorithms.
Recommended:
We hope this article was helpful and you were able to compare files in two folders on Windows 10 PC. If you have any queries, reach out to us through the comments section below.