Short: Compare two dirs for different files, V1.0 Kurz: Vegleicht zwei Verzeichnisse miteinander, V1.0 Type: util/cli Uploader: Martin Gierich Author: Martin Gierich Version: 1.0 CompareDirs allows you to compare the directory stucture of two directories and it compares all files, that can be found in both directories and all subdirectories, byte by byte. This is very useful for checking a backup of your harddisk on CD-recordable or another mass storage medium. Since it really compares all files, that will be output as identical, byte by byte you can be sure that no error occured during backing up. It is also practical to check for differences since the last backup. And if you have got a new archive of a program you already have, you can check it out for different files. The calling syntax is: CompareDirs [] where dir1 and dir2 are the two directories to be compared and resultfile is an optional argument that specifies where output should be written to. By default all output goes to stdout, that means you will see it in the console window. The output looks like: ---------------- snip ---------------- RAM:> CompareDirs DEVS: RAM:devs Scanning directory DEVS: Scanning directory RAM:devs Comparing files Showing results Identical files: DataTypes/ (0) DataTypes/8SVX (138) DataTypes/8SVX.info (1652) DataTypes/ILBM (138) DataTypes/ILBM.info (1652) DOSDrivers.info (1650) DOSDrivers/ (0) DOSDrivers/AUX (118) DOSDrivers/AUX.info (1813) mountlist (4252) parallel.device (4292) printer.device (27420) serial.device (5412) system-configuration (232) Files only in DEVS: : DOSDrivers/PC0 (787) DOSDrivers/PC0.info (1824) Mountlist.bak (4135) Files only in RAM:devs : bla.device (5712) Different files: clipboard.device (6944) mfm.device (6780 <-> 3848) ---------------- snip ---------------- Notes: Files of size zero are not (and cannot be) compared. Softlinks are treated like files of size zero, what means that their contents are not compared. It uses a 1MB memory block for comparing files to reduce disk accesses. So you will need at least one MB of continguous free memory to start CompareDirs. Copyright: This piece of software is Freeware and comes with source code. This means you can distribute it UNMODIFIED and use it for free. It is still copyrighted by me. However I can give you no warranty, so use it at your own risc. The source code is for tutorial purposes and for adapting it to your own needs. You are not allowed to include parts of it in Shareware or commercial programs. Author: Martin Gierich Narzissenweg 7 76297 Stutensee Germany EMail: Martin.Gierich@stud.uni-karlsruhe.de