命令行的文件校验工具FSUM2.51,支持MD2, MD4, MD5, SHA-1, SHA-2( 256, 384, 512), RIPEMD-160, PANAMA, TIGER, ADLER32, CRC32。
示例:
fsum.exe -js -d C:\Music *.mp3 >c:\music\a.sfv
以对一个目录下的所有目录生成sfv文件和效验
for /r %i in (.) do fsum -js -d%~fi *.* >%~fi\crc.sfv
格式如下:
Usage: fsum.exe
Options:
-c or --check - check sums against given list
-d
-jf - print only failed lines while checking
-jm - use MD5 format
-js - use SFV format
-jnc - supress comments
-r - recurse subdirectories
-s or --status - don't output anything, status code shows success
-w or --warn - warn about improperly formatted checksum lines
-md2 - include MD2 algorithm
-md4 - include MD4 algorithm
-md5 - include MD5 algorithm
-sha1 - include SHA-1 algorithm
-sha256 - include SHA-2( 256 ) algorithm
-sha384 - include SHA-2( 384 ) algorithm
-sha512 - include SHA-2( 512 ) algorithm
-rmd - include RIPEMD-160 algorithm
-tiger - include TIGER algorithm
-panama - include PANAMA algorithm
-adler - include ADLER32 algorithm
-crc32 - include CRC32 algorithm
-edonkey - include EDONKEY algorithm