md5deep 的格式化问题

Formatting issue with md5deep

我正在批量制作一个程序,它需要对文本文件进行哈希处理,然后必须将哈希保存到文本文件中。我已经完成了那部分,但是当它保存到文本文件时,它会像这样保存

f558e01b798b0390ab6206679a6926a7 C:\Users\computer\Desktop\tmpfile.txt

所以我的问题是如何让目录部分消失? “ 生成 md5 哈希的程序也是 md5deep64。"

来自http://md5deep.sourceforge.net/md5deep.html

-q

Quiet mode. File names are omitted from the output. Each hash is still followed by two spaces before the newline.