我用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:UsersDesktopessaiBeyondCProject1
Right base folder: C:UsersDesktopessaiBeyondCProject2
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
------------------------------------
答案:删除脚本中选择newer.files older.files
并在select all
后写入expand all
您可以在报告中看到:Right Orphan Files (3) Size Modified -------------------------------------------------- dossierAtiti.c 8 10/02/2015 14:38:54 dossierAtoto.c 4 11/05/2015 11:18:59