more logprint

This commit is contained in:
ark-lamp-umbrella 2024-04-12 19:34:11 -07:00
parent a8c457ab9e
commit e3addc0297
Signed by: ark-lamp-umbrella
GPG Key ID: 15E48F7B97025652
1 changed files with 2 additions and 1 deletions

View File

@ -2,13 +2,14 @@
source scripts/shared.fish
logprint "INFO" "blue" "creating directory $(pwd)/temp"
mkdir -p "temp"
set dircontent $(find "." -type f | grep -v ".git" | grep -v ".temp" | sort -z)
for i in $dircontent
if [ $i != "" ]
echo "[INFO] Hashing $i"
logprint "INFO" "blue" "hashing file $i"
set ihash "$(sha1sum $i)"
echo "$ihash" >> "temp/directorylisthashed.txt"
end