checksum : add recursive to single file - old version.

This commit is contained in:
Dmitry Voronin 2023-11-26 01:58:29 +03:00
parent f105776271
commit 33386c9206

View file

@ -95,6 +95,11 @@ checksum_check()
fi fi
} }
checksum()
{
find -type f | parallel -j $(_core_count) -- sha1sum {} >> checksum.sha1
}
_checksum_create() _checksum_create()
{ {
local path="${1%/*}" local path="${1%/*}"