digitalmars.com                        
Last update Sun Mar 4 11:58:07 2018

DIFFDIR: Compare Directories

diffdir recursively compares the contents of two directory trees. Files are compared by reading the files and comparing them byte-for-byte. All files, including hidden and system files, are compared.

diffdir switches... dir1 dir2

switches:

-v
Verbose

The output of the program will list files that are different from dir1 to dir2, prefixed by a character:

Character Prefixes
Prefix Description
- File exists in dir1 but not in dir2.
+ File exists in dir2 but not in dir1.
# File exists in both dir1 and dir2 but has different contents.

It's useful for:

Home | Runtime Library | IDDE Reference | STL | Search | Download | Forums