ArchivedTools/ScanScripts/Windows/5 - hash_em.cmd
2023-12-21 01:31:35 +01:00

23 lines
380 B
Batchfile

@echo off
rem Author: Carsten Jensen (Tomse)
rem Copyright (c) 2013-2018 http://retro-commodore.eu
rem Requires md5sum and sha1sum commandline tools in path
for %%i in (*.pdf) DO (
md5sum %%i > %%i.md5
sha1sum %%i > %%i.sha1
)
for %%i in (*.ocr.txt) DO (
md5sum %%i > %%i.md5
sha1sum %%i > %%i.sha1
)
for %%i in (*.zip) DO (
md5sum %%i > %%i.md5
sha1sum %%i > %%i.sha1
)