0

我将两个文件夹与 BeyondCompare(v3) 脚本进行比较并生成报告。在报告文件中有丢失的文件(例如)通知但没有丢失的文件夹!在报告中添加丢失的文件夹有什么想法吗?

谢谢!

这是我的脚本:

# Set up basic comparison features.
criteria timestamp:2sec
# Filter out log files.
filter "-*.log"
# Load first comparison.
load %1 %2
# Compare files with timestamp differences.
select newer.files older.files
# Generate a report of the differences.
folder-report layout:summary options:display-mismatches output-to:%3

这是我的报告:文件夹比较制作时间:28/08/2015 17:32:55

Mode:  Differences
Filters:  -*.log
Left base folder: C:\Users\Desktop\essaiBeyondC\Project1
Right base folder: C:\Users\Desktop\essaiBeyondC\Project2

Left Orphan Files (0)  Size Modified
------------------------------------

Right Orphan Files (0) Size Modified
------------------------------------

Left Newer Files (0)   Size Modified
------------------------------------

Right Newer Files (0)  Size Modified
------------------------------------

Differences Files (0)  Size Modified
------------------------------------

Unscanned Folders
------------------------------------
4

1 回答 1

0

ANSWER: 在脚本中删除 selectnewer.files older.files和 writeexpand all和 after select all

您在报告中看到:Right Orphan Files (3) Size Modified -------------------------------------------------- dossierA\titi.c 8 10/02/2015 14:38:54 dossierA\toto.c 4 11/05/2015 11:18:59

于 2016-04-05T11:48:01.330 回答