In article <Xns9803A25C8704Fnempensarcom@208.49.80.188>,
(E-Mail Removed)
says...
> Oh yes, I prefer FSUM without any doubt. I'm using XP (and also JPSoft's
> 4NT, for what its worth). So ... be my guest! :-)
(Apologies for shuffling the order of your post)
Quick hack version - from the command line (case sensitive, single line
- rejoin if wrapped)
for /R . %J in (*) do fsum -jm -jnc "%~fpJ" | find /v "*****" >> "%
~dpJchecksum.md5"
Translation - for every directory from the current directory downwards,
recurse through files running fsum against every file in MD5 sum mode
and suppressing comments. Skip the line containing "DENIED" when FSum
attempts to checksum the file being created in the following step and
pipe the output to the file checksum.md5 in each directory.
Limitations - >> is intended to add to a file - if checksum.md5 already
exists, it will append the results of the command to the file. If you
wanted to make a batch file for this, you could use del /s *.md5 to
clear out the checksums first - or just run it manually.
If you do use it in a batch file, you need to double up on the % signs
(apologies if I'm teaching my grandmother to suck the proverbial eggs.)
It could be improved a lot with some checking for if checksum files
already exist and prompting you to delete etc, but it would start to get
clunky...
> > Only limitation as such is that the checksum file is created with the
> > same name for every subdirectory, rather than with the directory name
> > which I would prefer.
>
> Yes, I thought of that to be honest, but there are so many "rename-
> utilities" out there, that changing the names afterwards from the same
> name to the directory name shouldn't be that difficult. :-)
>
The batch command I keep around in my top level directory and use to
correct the names after running RapidCRC is :
for /D %%I in (*) do ren "%%~fI\checksum.md5" "%%~I.md5"
This will rename all files found called checksum.md5 to the directory
name instead. If you want to run it from the console directly, you want
single % signs not double.
Hope this helps
Ben