AminetAminet
Search:
84478 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/CompareDirs.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Compare two dirs for different files, V1.1
Author:Martin Gierich <Martin.Gierich at stud.uni-karlsruhe.de>
Uploader:Martin Gierich <Martin Gierich stud uni-karlsruhe de>
Type:util/cli
Version:1.1 (5.10.97)
Architecture:m68k-amigaos
Kurz:Vegleicht zwei Verzeichnisse miteinander, V1.1
Date:1997-10-08
Download:http://aminet.net/util/cli/CompareDirs.lha - View contents
Readme:http://aminet.net/util/cli/CompareDirs.readme
Downloads:822

New for V1.1 (5.10.97):
 ReadArgs() interface added, NOIDENT option added, Copyright notice changed.


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,
CompareDirs allows you to check it out for different files.


The calling syntax is:

    CompareDirs <dir1> <dir2> [<resultfile>] [NOIDENT}

or as a argument template: DIR1/A,DIR2/A,RESULTFILE,NOIDENT/S

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 NOIDENT switch
allows surpressing output of identical files.


The output looks like:


----------------  snip  ----------------

RAM:> CompareDirs DEVS: RAM:devs

Scanning directory DEVS:
Scanning directory RAM:devs
Comparing files
Showing results


Identical files:

 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  ----------------



Copyright (excerpt):

 CompareDirs is Freeware and comes with source code.
 This means you are allowed to distribute it (unmodified and with
 source code and this readme) and you can use it for free.
 It is still copyrighted by me.


Author: Martin Gierich
EMail: Martin.Gierich at stud.uni-karlsruhe.de
Homepage: http://www.uni-karlsruhe.de/~uj3w/


Contents of util/cli/CompareDirs.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  272     628  43.3% -lh5- 46ad Oct  5  1997 CompareDirs.info
[generic]                 4187    6460  64.8% -lh5- 344e Oct  5  1997 CompareDirs/CompareDirs
[generic]                  347     882  39.3% -lh5- 84fe Oct  5  1997 CompareDirs/CompareDirs.info
[generic]                 1853    3960  46.8% -lh5- c84a Oct  5  1997 CompareDirs/CompareDirs.readme
[generic]                  252     888  28.4% -lh5- b668 Oct  5  1997 CompareDirs/CompareDirs.readme.info
[generic]                  289     954  30.3% -lh5- 180a Oct  5  1997 CompareDirs/Source.info
[generic]                 2579    8121  31.8% -lh5- dd94 Oct  5  1997 CompareDirs/Source/CompareDirs.c
[generic]                  285     527  54.1% -lh5- 69b4 Sep 10  1997 CompareDirs/Source/fastmemcmp.asm
[generic]                  136     144  94.4% -lh5- 8a25 Oct  5  1997 CompareDirs/Source/fastmemcmp.o
[generic]                  107     141  75.9% -lh5- ef0b Oct  5  1997 CompareDirs/Source/SCOPTIONS
[generic]                  126     239  52.7% -lh5- 5474 Oct  5  1997 CompareDirs/Source/smakefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        11 files   10433   22944  45.5%            Oct  8  1997

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>