A directory comparison utility.
The program is a combination of dirdiff (directory comparison) as well as tkdiff (file comparison).
- It depends on the diff command - a unix utility command.
- For the moment, diff.exe needs to be available in the same directory as dirdiff.exe.
- If you need support for a different operating system, please use the comment section below.
The program is especially usefull:
- to sort out directories and files (various instances of development source files),
- when working over a VPN, to find out differences in a local copy of a directory tree.
DirDiff works best with text files, but can also be used to compare any kind of file (to compare file timestamp and file size).
- If a file has a binary format, be aware that the tkdiff (file comarison sub-command) is not applicable (does not make sense).
Dirdiff compares all the files in up to five directories.
You can use the
Browse..button or just drag and drop a directory onto one of the entry fields with the file-explorer.
There is one column in the main window for each directory.
Each file is shown with a coloured square indicating its status.
Files are like leaves on a deciduous tree: the newest ones are green, and then they turn yellow, orange, and red as they get older.
Double-click a file to show differences between two versions.
By default, the first and last versions are compared, but this can be changed by the ‘Diff’ menu in the main window.
You can select several files to copy or to make a patch by
You can search for a file by typing part of its name in the entry and pressing the
In the diff window, check the boxes on the left margin for changes you want to preserve, and then choose ‘Merge’ to move those changes into one of the files.
Alternatively, choose ‘Copy’ in the main window to copy across the whole file, replacing any changes.
Make patchproduces a file describing the changes between the files that can be applied by the patch tool.
You can edit the patch before saving, and may wish to add explanatory text, instructions, or patch(1) Prereq lines at the beginning.
To save the patch, enter a filename in the patch window relative to the current directory, and choose
Save. This will also close the window.
Sending out patches:
If you are sending out patches, then the "from" directory should be the original version of the source.
Try to make sure that the two files have the same number of leading directories.
See the patch(1) man page for more information.
Copyright © 1999-2004 Paul Mackerras. All rights reserved. This program is free software; it may be used, copied, modified and distributed under the terms of the GNU General Public Licence, either version 2, or (at your option) any later version.
Autohor: John C. Quillan Contributors: Ulrich Lauther Michael J. Long Copyright © 1996 John C. Quillan This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Various modifications made + executable for various platforms provided by me.
- The software can be downloaded from here: DirDiff.zip