Purpose: | Compare directories |
Format: | DIFFER [ranges] [/= /A:[[-|+]rhsadecijopt /A /C /D /N[ejs] /S source target |
source - source directory
target - target directory
/D (Deleted files)
File Completion Syntax:
The default filename completion syntax is: dirs
Usage:
DIFFER will compare two directories and display files that have been added, changed, or deleted. If you don't specify the /A, /C, and/or /D options, DIFFER will prefix the line with a [*] for changed files, [+] for added files, and [-] for deleted files.
DIFFER will not by default search target to see if there are additional directories that are not in source. You can either reverse the source & target, or specify the /A:D option if you want to find new target subdirectories.
Examples:
Compare the directories C:\DEV and D:\DEV (and their subdirectories) and display the differences:
differ /S /SHA256 c:\dev d:\dev
Options:
/A: | Compare only those files that have the specified attribute(s) set. See Attribute Switches for information on the attributes which can follow /A:. |
e | Don't display errors |
j | Skip junctions (when used with /S) |
s | Don't display the summary |