创建测试文件
建议使用管理员 打开powerShell 执行
fsutil file createNew test1k.txt 1024
fsutil file createNew test1M.txt 1048576
fsutil file createNew test1G.txt 1073741824
fsutil file createNew test100M.txt 104857600
fsutil file createNew test200M.txt 209715200
fsutil file createNew test300M.txt 314572800
fsutil file createNew test400M.txt 419430400
fsutil file createNew test500M.txt 524288000
fsutil file createNew test600M.txt 629145600
fsutil file createNew test700M.txt 734003200
fsutil file createNew test800M.txt 838860800
fsutil file createNew test900M.txt 943718400
计算文件的 hash
npm install --save spark-md5
Certutil -hashfile test1G.txt md5