This feature can be used by simply comparing two files or directories from the command line as you previously could and appending the /statsonly option as follows:
examdiff C:\1 C:\2 /o:- /statsonlyThis works for file comparison, directory comparison, and full directory comparison. Some of these examples are shown below, the first of which is for a file comparison.
C:\Users>examdiff C:\1\_test3 C:\1\_test4 /o:- /statsonly 4 differences: 4 lines, 7 inline differences in 4 changed lines Added lines: 0, inline additions in changed lines: 0 Deleted lines: 0, inline deletions in changed lines: 1 Changed lines: 4 Inline changes in changed lines: 6
C:\Users>examdiff C:\1 C:\2 /o:- /statsonly 54 differences: 135 files Added items: 16 files Deleted items: 73 files Changed items: 2 files Newer items: 9 files Older items: 35 files
C:\Users>examdiff C:\1 C:\2 /o:- /statsonly 51 differences: 127 files, 105 lines Added items: 16 files and 17 lines in changed files Deleted items: 73 files and 0 lines in changed files Changed items: 38 files and 88 lines in changed files
No comments:
Post a Comment