通过批处理获取文件MD5提取内容不重复的文件(根据文件内容批量去重)
一行代码,将目录a下的所有文件,提取出唯一内容,复制到b文件夹下(select distinct file content from folder a into folder b)
for /r a\ %%i in (*) do (set /p="set filename="<nul>temp.bat & certutil -hashfile "%%i" MD5 | find /v ":" >>temp.bat & echo if not exist "b\%%
原创
2021-01-01 21:11:42 ·
1403 阅读 ·
0 评论