
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
|
This tool use used to compare two files.
I wrote it because I had some harddisk trouble which involved
corrupted files and the only way to detect if a file was corrupt
was to compare the entire file with a file from my backup.
FileComp compares the file's date, comment, protections bits,
size and, if the size is equal the file contents is compared.
It is excellent for comparing many files at the same time by
putting them in a script as the output is always just one line
which makes it quite easy to see the differences in the output.
The compare routine are very fast and written in assembly.
The core looks like this:
MOVE.L #16383,D0 ;uses 64k buffers
loop:
CMPM.L (A0)+,(A1)+
DBNE D0,loop
--
Other programs by Deniil 715! can be found on OnyxSoft homepage at:
http://www.onyxsoft.nu/
Feel free to mail me if you found bugs or have suggestions!
|
Contents of util/cli/FileComp.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 1846 3328 55.5% -lh5- df6f May 15 2003 FileComp
[generic] 1630 3653 44.6% -lh5- 46a9 May 15 2003 FileComp.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 3476 6981 49.8% May 25 2003
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |