Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 861 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 861 Bytes

differ

Simple command-line tool to see if directories contain identical files

Usage

differ <left> <right>

The tool will recursively iterate through both the left and the right directories, comparing the contents of files in each directory. It writes to the console a status for each file.

  • Added - The file is present only in right.
  • Deleted - The file is present only in left.
  • Identical - The file is present in both left and right and the contents have not changed.
  • Modified - The file is present in both left and right and the contents have changed.

The tool compares filenames using a case-insensitive comparer. File renames are not tracked. If a file is renamed from a.txt to b.txt between the two directories, this will be reported as an addition (for b.txt) and a deletion (for a.txt).